mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-10-26 19:01:53 -04:00
Added version getter to setup.py
This commit is contained in:
parent
da32709f7c
commit
01010dd599
1 changed files with 4 additions and 0 deletions
4
setup.py
4
setup.py
|
|
@ -13,6 +13,10 @@ exec(open("RNS/_version.py", "r").read())
|
|||
with open("README.md", "r") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
if "--getversion" in sys.argv:
|
||||
print(__version__, end="")
|
||||
exit(0)
|
||||
|
||||
if pure_python:
|
||||
pkg_name = "rnspure"
|
||||
requirements = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue