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
Milestone

Comments

@nicolaiarocci
Copy link
Member

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.

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