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

Comments

Projects
None yet
1 participant
@nicolaiarocci
Member

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