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

Switch to Python's new packaging system (PEP517) #425

Open
emfox opened this issue Feb 3, 2023 · 1 comment
Open

Switch to Python's new packaging system (PEP517) #425

emfox opened this issue Feb 3, 2023 · 1 comment
Labels

Comments

@emfox
Copy link
Contributor

emfox commented Feb 3, 2023

Please consider switch to Python's new packaging system, according to PEP 517 & PEP 518.
https://peps.python.org/pep-0517/
https://peps.python.org/pep-0518/
these are the orignail PEP, and we have new guildeline from the same old URL:
https://packaging.python.org/en/latest/tutorials/packaging-projects/
or this one:
https://setuptools.pypa.io/en/latest/build_meta.html
in short, a new simple pyproject.toml would do the whole thing, and every kind of frontend or backend of new build systems will do the other tricks, and then remove setup.py or keep it for compatibility.

Here we have some background knowledge on why we should do this:
https://bernat.tech/posts/pep-517-518/
https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html

@emfox
Copy link
Contributor Author

emfox commented Feb 3, 2023

oh, and a transition guide if interest (a little old, I did not try it myself):
http://ivory.idyll.org/blog/2021-transition-to-pyproject.toml-example.html

@ilius ilius added the Package label Feb 9, 2023
@ilius ilius changed the title Please consider switch to Python's new packaging system (PEP517) Switch to Python's new packaging system (PEP517) Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants