-
-
Notifications
You must be signed in to change notification settings - Fork 630
pkgs/sage-conf
: Move metadata from setup.cfg
to pyproject.toml
#36561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
8efb067
0bf4423
c80d5da
bee86a8
1d30884
2749de6
5c6760e
bec807a
72bbe3f
7e1e4a1
9977681
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../sagelib/bootstrap |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
$(SAGE_ROOT)/pkgs/sage-conf/_sage_conf/_conf.py $(SAGE_ROOT)/pkgs/sage-conf/setup.cfg $(SAGE_ROOT)/pkgs/sage-conf/bin/sage-env-config | $(PYTHON_TOOLCHAIN) $(PYTHON) | ||
$(SAGE_ROOT)/pkgs/sage-conf/_sage_conf/_conf.py $(SAGE_ROOT)/pkgs/sage-conf/pyproject.toml $(SAGE_ROOT)/pkgs/sage-conf/bin/sage-env-config | $(PYTHON_TOOLCHAIN) $(PYTHON) |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
include(`sage_spkg_versions_toml.m4')dnl' -*- conf-toml -*- | ||
[build-system] | ||
requires = [ | ||
SPKG_INSTALL_REQUIRES_setuptools | ||
mkoeppe marked this conversation as resolved.
Show resolved
Hide resolved
|
||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "sage-conf" | ||
description = "Sage: Open Source Mathematics Software: Configuration module for the SageMath library" | ||
readme = "README.rst" | ||
dnl Not including the standard metadata from pyproject_toml_metadata.m4 | ||
dnl because sage-conf is GPL v3+. | ||
license = {text = "GNU General Public License (GPL) v3 or later"} | ||
authors = [{name = "The Sage Developers", email = "sage-support@googlegroups.com"}] | ||
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.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Topic :: Scientific/Engineering :: Mathematics", | ||
] | ||
urls = {Homepage = "https://www.sagemath.org"} | ||
requires-python = ">=3.9, <3.13" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we get rid of the upper bound here? This package is relatively simple python that should not be tied to the version of python. This allows more flexibility (e.g. to use a released sage-conf with a beta version of sagemath-standard when one is experimenting with an update of python). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No. The version bound is set for uniformity. |
||
dynamic = ["version"] | ||
|
||
[project.scripts] | ||
sage-config = "sage_conf:_main" | ||
|
||
[tool.setuptools] | ||
packages = ["_sage_conf"] | ||
py-modules = ["sage_conf"] | ||
script-files = ["bin/sage-env-config"] | ||
include-package-data = false | ||
|
||
[tool.setuptools.dynamic] | ||
version = {file = ["VERSION.txt"]} |
This file was deleted.
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.