-
Notifications
You must be signed in to change notification settings - Fork 109
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
Moved the metadata into setup.cfg. #179
base: master
Are you sure you want to change the base?
Conversation
Just to confirm, what is the motivation? |
|
While I think this is a great change, I think it's probably too early. There are probably still issues with the new build system and I'm going to wait until everyone has new pip versions and other major libraries are using this as well. So keeping it open for the next few years until we can probably finally merge :) |
I can create a simple |
Have you considered using https://github.com/codrsquad/setupmeta instead? |
What are the advantages of it? I have read its readme and only found out that
Could you explain what fragility of |
Just want to point out two potentially breaking changes here. These should be reviewed before moving all metadata to Version number retrievalThe Python Packaging User Guide from PyPA introduced 7 techniques to maintain a single version number in the source code, and probably people cannot agree on a single universally "correct" one. Currently By using Alternatively, we could use the improved way of Technique 1, which is to specify Long description content concatenation
|
It is a very valid concern. It disallows usage of fetches of depth 1. Though fetches of longer depth (I personally use 50, which was used on Travis especially of this issue) usually succeed, but it is not guaranteed. In my other software, Anyway, the convention in the projects using git is to set tags to versions, and this project follows it.
Thank you for the link, BTW. I feel I'd have to send a PR there too, I see multiple places in it that can be improved.
It is a very bad idea to do this way. This method (and other methods relying on importing) assummes that the directory from which build can be triggered is the root dir of the repo. Also it executes code on stage of package building, the code of the package itself, it is even worse than just executing only
This is a valid concern. But I saw pretty a lot of packages concatenating the files without separator. But given rst is the blessed format for docs in python community, I don't estimate the probability of breaking markup to be high. I guess we should just unpack the wheel and check if the rst in its metadata rendered correctly. |
319d2fa
to
3d7e5f8
Compare
Added pyproject.toml. Version is now fetched from git tags.
Added pyproject.toml.
Version is now fetched from git tags.