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

Only set the package version in __init__.py #1142

Closed
nicolaiarocci opened this issue May 10, 2018 · 0 comments
Closed

Only set the package version in __init__.py #1142

nicolaiarocci opened this issue May 10, 2018 · 0 comments
Labels
Milestone

Comments

@nicolaiarocci
Copy link
Member

@nicolaiarocci nicolaiarocci commented May 10, 2018

At the moment we're holding the package version in two places: setup.py and __init__.py. We need to keep the version number in the init file for a number of reasons, but we could add some magic to avoid hard-coding it again in the setup file. Either that or soon or later I (or someone else) will forget to bump both numbers before a release. And also, DRY.

@nicolaiarocci nicolaiarocci added this to the 0.8.1 milestone May 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.