Updated build scripts
This commit is contained in:
parent
a29c4a0e17
commit
fab12ad9bf
2 changed files with 10 additions and 0 deletions
5
setup.py
5
setup.py
|
|
@ -1,3 +1,4 @@
|
|||
import sys
|
||||
import setuptools
|
||||
|
||||
with open("README.md", "r") as fh:
|
||||
|
|
@ -5,6 +6,10 @@ with open("README.md", "r") as fh:
|
|||
|
||||
exec(open("LXMF/_version.py", "r").read())
|
||||
|
||||
if "--getversion" in sys.argv:
|
||||
print(__version__, end="")
|
||||
exit(0)
|
||||
|
||||
setuptools.setup(
|
||||
name="lxmf",
|
||||
version=__version__,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue