-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support projects without setup.cfg #228
Comments
This also appears specific to ZipApps. |
Given that people are supposed to have a If we do that, I think it would be a good idea to deprecate configuring |
@nbraud the value from setup.cfg that is used is metadata.name. e.g., from https://github.com/duckinator/bork/blob/main/setup.cfg:
That's the only place it's used. Given that it's always there with setup.cfg-based setuptools configurations, and would be redundant to put in both, I'm wondering about checking pyproject.toml and falling back to setup.cfg? |
There's a specification for this, now: https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ And setuptools is on board: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html |
It seems like setup.cfg is used exclusively for the project name. Providing a way to specify it in pyproject.toml might be useful, for folks not using setuptools (or who are doing a quick migration and still use setup.py).
I explicitly do not want to try to process setup.py. It can't be done without running it.
The text was updated successfully, but these errors were encountered: