Skip to content
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

replace setup.py with pyproject.toml #90

Open
jerpint opened this issue Dec 1, 2022 · 2 comments
Open

replace setup.py with pyproject.toml #90

jerpint opened this issue Dec 1, 2022 · 2 comments

Comments

@jerpint
Copy link
Member

jerpint commented Dec 1, 2022

No description provided.

@jerpint
Copy link
Member Author

jerpint commented Sep 11, 2024

bumping because setup.py is soon deprecated

DEPRECATION: Legacy editable install of amlrt_project==0.0.1 from file:///Users/jeremypinto/amlrt_project (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457

@mirkobronzi
Copy link
Collaborator

@jerpint Interestingly (and a little confusing), setup.py is valid (and will remain valid) as a configuration tool to setup the project, while it should not be used as a python script directly (this is the part that is deprecated): https://packaging.python.org/en/latest/discussions/setup-py-deprecated/#setup-py-deprecated

In any case, id pyproject.toml is the future, and replaces setup.py (but I am not sure on this one yet), it makes sense to switch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants