Repository navigation
have letsencrypt.VERSION, show it in letsencrypt --help, use it in setup.py - #207
Merged
Merged
Conversation
…tup.py note: we had some discussion about potential problems importing VERSION from main package. SO link: http://stackoverflow.com/questions/2058802/how-can-i-get-the-version-defined-in-setup-py-setuptools-in-my-package See also my comment in __init__.py - maybe we can add that "version detection from git tags" magic later.
Contributor
Author
|
maybe nice also: -V, --version option that just gives the version. |
Contributor
|
My basic tests worked, though I still have a lot of reservation for this approach, c.f. zooko's comment over at SO regarding NB, another SO answer also suggests What do others use? For example,
Most of the projects I've seen do the same as pypa folks. I think I trust this solution the most. What do you think? |
Contributor
|
I didn't do any research myself, but I would be inclined to follow pypa approach. |
Contributor
Author
|
updated. |
like e.g. reading long_description from README.rst + CHANGES.rst.
Contributor
|
LGTM, just pls fix above comments |
Contributor
Author
|
fixed. |
Contributor
|
Thanks @ThomasWaldmann! |
jdkasten
added a commit
that referenced
this pull request
Jan 30, 2015
have letsencrypt.VERSION, show it in letsencrypt --help, use it in setup.py
eq19
pushed a commit
to VirtualNetworks/cerbot
that referenced
this pull request
May 2, 2025
* Add travis yml * update travis CI config * Add the build badge to the readme * Update readme to include npm version, downloads/month
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
note: we had some discussion about potential problems importing VERSION from main package.
SO link: http://stackoverflow.com/questions/2058802/how-can-i-get-the-version-defined-in-setup-py-setuptools-in-my-package
See also my comment in init.py - maybe we can add that "version detection from git tags" magic later.