Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge branch 't/30912/sagelib__update_metadata_for_pypi_deployment' i…
Browse files Browse the repository at this point in the history
…nto t/30913/sagelib__add_setup_cfg__install_requires_
  • Loading branch information
mkoeppe committed Dec 12, 2020
2 parents 3382a47 + deb9eb3 commit bf61db4
Show file tree
Hide file tree
Showing 8 changed files with 455 additions and 11 deletions.
1 change: 1 addition & 0 deletions build/pkgs/sagelib/src/LICENSE.txt
1 change: 1 addition & 0 deletions build/pkgs/sagelib/src/setup.cfg
420 changes: 420 additions & 0 deletions src/LICENSE.txt

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions src/VERSION.txt
26 changes: 26 additions & 0 deletions src/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[metadata]
name = sagemath-standard
version = file: VERSION.txt
description = Sage: Open Source Mathematics Software: Standard Python Library
long_description = file: README.rst
long_description_content_type = text/x-rst
license = GNU General Public License (GPL) v2 or later
license_file = LICENSE.txt
author = The Sage Developers
author_email = [email protected]
url = https://www.sagemath.org

classifiers =
Development Status :: 6 - Mature
Intended Audience :: Education
Intended Audience :: Science/Research
License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
Operating System :: POSIX
Operating System :: MacOS :: MacOS X
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
Topic :: Scientific/Engineering :: Mathematics
1 change: 1 addition & 0 deletions build/pkgs/sagelib/src/setup.cfg.m4 → src/setup.cfg.m4
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ description = Sage: Open Source Mathematics Software: Standard Python Library
long_description = file: README.rst
long_description_content_type = text/x-rst
license = GNU General Public License (GPL) v2 or later
license_file = LICENSE.txt
author = The Sage Developers
author_email = [email protected]
url = https://www.sagemath.org
Expand Down
16 changes: 5 additions & 11 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import sys
import time
from distutils import log
from distutils.core import setup
from setuptools import setup

# Work around a Cython problem in Python 3.8.x on macOS
# https://github.com/cython/cython/issues/3262
Expand Down Expand Up @@ -79,20 +79,14 @@
print("Discovered Python/Cython sources, time: %.2f seconds." % (time.time() - t))


from sage_setup.command.sage_install import sage_install
from sage_setup.command.sage_install import sage_install_and_clean

#########################################################
### Distutils
#########################################################

code = setup(name = 'sage',
version = SAGE_VERSION,
description = 'Sage: Open Source Mathematics Software',
license = 'GNU Public License (GPL)',
author = 'William Stein et al.',
author_email= 'https://groups.google.com/group/sage-support',
url = 'https://www.sagemath.org',
packages = python_packages,
code = setup(
packages = python_packages,
package_data = {
'sage.libs.gap': ['sage.gaprc'],
'sage.interfaces': ['sage-maxima.lisp'],
Expand Down Expand Up @@ -175,5 +169,5 @@
cmdclass = dict(build=sage_build,
build_cython=sage_build_cython,
build_ext=sage_build_ext,
install=sage_install),
install=sage_install_and_clean),
ext_modules = cython_modules)

0 comments on commit bf61db4

Please sign in to comment.