-
Notifications
You must be signed in to change notification settings - Fork 8
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
move build configuration from setup.cfg
to pyproject.toml
#30
base: main
Are you sure you want to change the base?
Conversation
Are we reviving STScI package template? I don't think it is being maintained anymore. |
ah ok, I followed a reference from the INS guide so I assumed it was still current |
Hmm even https://github.com/spacetelescope/ins-jwst-community-software has not been touched for a year. 🤷 |
I made an analogous PR to OpenAstronomy/packaging-guide#38; I'll keep this branch alive until we figure out if anyone is actually using this repo, and then if not we should probably archive it / indicate deprecation |
I will reopen this PR and make sure it is up-to-date |
setuptools
now supports the[project]
table for project metadata, defined by PEP621.Additionally,
setuptools
now supports its own entry inpyproject.toml
called[tool.setuptools]
(pypa/setuptools#1688, https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration); however, it comes with the following disclaimer:Reading
toml
is supported natively in Python 3.11 withtomllib
. Given this, we can consolidate the build configuration into a singlepyproject.toml
file that can possibly be read by other build systems in the future.