Replies: 2 comments
-
Depending on what you need this for, the answer would differ. You could install the thing and get it from meta through |
Beta Was this translation helpful? Give feedback.
0 replies
-
Parsing the semver version from the wheel does the trick:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm sorry if this has been asked, but I can't find an answer in the issues or discussions.
What is the equivalent of
python setup.py --version
now that the setup.py CLI is deprecated?My setup.py file has a
Version='4.0.0'
: https://github.com/elifesciences/threadbare/blob/cd5669acf5889ea831983693f248fe6d2b37aa44/setup.py#L5and
python setup.py --version
prints this value out as-is:Very simple, but I can't find an alternative and don't want to resort to grepping and regex. Any help?
Beta Was this translation helpful? Give feedback.
All reactions