mirror of
https://github.com/markqvist/LXMF
synced 2026-11-22 23:10:36 +00:00
Updated build scripts
This commit is contained in:
2 files changed
+10
No files matched your search
@@ -26,5 +26,10 @@ build_spkg: remove_symlinks build_sdist create_symlinks
|
|||||||
release: remove_symlinks build_wheel build_spkg create_symlinks
|
release: remove_symlinks build_wheel build_spkg create_symlinks
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
|
@echo Ready to publish release over Reticulum
|
||||||
|
@read VOID
|
||||||
|
rngit release rns://7649a50d84610232d1416b41d2896aff/reticulum/lxmf create $$(python setup.py --getversion):dist --name lxmf
|
||||||
|
|
||||||
|
upload-pip:
|
||||||
@echo Uploading to PyPi...
|
@echo Uploading to PyPi...
|
||||||
twine upload dist/*.whl dist/*.tar.gz
|
twine upload dist/*.whl dist/*.tar.gz
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import sys
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
with open("README.md", "r") as fh:
|
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())
|
exec(open("LXMF/_version.py", "r").read())
|
||||||
|
|
||||||
|
if "--getversion" in sys.argv:
|
||||||
|
print(__version__, end="")
|
||||||
|
exit(0)
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="lxmf",
|
name="lxmf",
|
||||||
version=__version__,
|
version=__version__,
|
||||||
|
|||||||
Reference in new issue
Block a user