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

Use setup.cfg for python distribution #116

Open
mh-northlander opened this issue Oct 20, 2021 · 4 comments
Open

Use setup.cfg for python distribution #116

mh-northlander opened this issue Oct 20, 2021 · 4 comments
Labels
enhancement New feature or request python Python binding-related

Comments

@mh-northlander
Copy link
Collaborator

Static metadata is now recommended.
ref: https://packaging.python.org/tutorials/packaging-projects/#configuring-metadata

@mh-northlander mh-northlander added enhancement New feature or request python Python binding-related labels Oct 20, 2021
@eiennohito
Copy link
Collaborator

eiennohito commented Oct 20, 2021

I don't think that we can do that with Rust. It actually executes non-default Python code to call cargo/rust toolchain to compile Rust module.

@eiennohito
Copy link
Collaborator

eiennohito commented Oct 20, 2021

Also, see https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html, but I don't think that we should move anywhere from setup.py-based installation for the time being.

@mh-northlander
Copy link
Collaborator Author

We still need to use setup.py, but I feel setup.cfg is handy for some metadata like version or readme.

@eiennohito
Copy link
Collaborator

Then we also probably should add pypackage.toml with setuptools-rust/wheel dev dependencies written there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python Python binding-related
Projects
None yet
Development

No branches or pull requests

2 participants