-
-
Notifications
You must be signed in to change notification settings - Fork 166
Expose extension version #94
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
Conversation
ping cc @callegar |
Why is a separate file better than |
@amueller that way I can import only the version |
Can you give an example? If you do |
How would you do it ? |
I don't think there is a reasonable way to do it. The handling of the release version is also somewhat suspect currently --- it should be |
@pv do you want to change it to 0.7.0.dev0? that would be helpful I think. |
@amueller Having a dedicated file has several advantages, because you can have only the version number in it. In turn, this means that:
@pv I suggest that the project should eventually move to read the version directly from the vcs (e.g. using the versioneer package) |
Reading in a separate file and parsing as text rather than importing doesn't sound completely unreasonable. |
Can't we do this sort of think but make numpydoc.setup import numpydoc.numpydoc.setup locally? |
supercedes #51