Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to create a dist that is just a plain release not a pre-release w/ dev and date #432

Closed
mulkieran opened this issue Jan 23, 2022 · 5 comments

Comments

@mulkieran
Copy link

mulkieran commented Jan 23, 2022

This is just a request for help. I can't persuade build to create a dist with the correct version string which should be a plain release version string because the egg-info MANIFEST contains a pre-release version, with "dev" and a date. How do I fix that? I can fix that by passing parameter to "python setup.py sdist egg-info", but I can't figure out how to get build to acknowledge them.

@layday
Copy link
Member

layday commented Jan 23, 2022

See any of these issues for how to pass configuration options to setuptools.

@mulkieran
Copy link
Author

See any of these issues for how to pass configuration options to setuptools.

I'm asking this question after doing exactly that. Still stuck. I was hoping it was something that was so normally wanted that everybody but me already knows how off hand.

@layday
Copy link
Member

layday commented Jan 24, 2022

Can you show us what you have tried?

@mulkieran
Copy link
Author

Feel free to close. The source of the problem was an unsuspected setup.cfg file that had been ignored by the release practices I inherited from the original writer of the package I'm trying to release, but which is respected by this build tool.

@layday
Copy link
Member

layday commented Jan 26, 2022

Alright, I'll close this one then.

@layday layday closed this as completed Jan 26, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants