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

Convert this project from setup.py to pyproject.toml #139

Open
john-science opened this issue Feb 26, 2023 · 1 comment
Open

Convert this project from setup.py to pyproject.toml #139

john-science opened this issue Feb 26, 2023 · 1 comment

Comments

@john-science
Copy link
Owner

This project (for the obvious historical reasons) uses setup.py. And I have not been bothered to change that because, "It works, so who cares." But it looks like future versions of Python will really need pyproject.toml, and not setup.py.

  • We want to support the pyproject.toml.
  • It should be an easy enough change.
  • We need to be careful to not drop support for older versions of Python.
@john-science
Copy link
Owner Author

I am not sure this is worth doing.

The Python org is pushing so hard for everyone to abandon the old setup.py approach and move to the new pyproject.toml approach. But according to the official setuptools docs, there is no way to build a Cython project with only a pyproject.toml file; you will still need a setup.py file to go with it.

Which begs the question:

Why should I bother moving to an inferior tech that doesn't even support Cython?

Sounds like a waste of time. (See relevant StackOverflow post.)

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

No branches or pull requests

1 participant