mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-10-25 18:40:13 -04:00
Updated makefile
This commit is contained in:
parent
c2af9f80d1
commit
b6d2ebbfc7
2 changed files with 10 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -21,5 +21,10 @@ build_wheel:
|
||||||
release: remove_symlinks build_wheel create_symlinks
|
release: remove_symlinks build_wheel create_symlinks
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
|
@echo Ready to publish release over Reticulum
|
||||||
|
@read VOID
|
||||||
|
rngit release rns://7649a50d84610232d1416b41d2896aff/reticulum/nomadnet create $$(python setup.py --getversion):dist --name nomadnet
|
||||||
|
|
||||||
|
upload-pip:
|
||||||
@echo Uploading to PyPi...
|
@echo Uploading to PyPi...
|
||||||
twine upload dist/*.whl dist/*.tar.gz
|
twine upload dist/*.whl dist/*.tar.gz
|
||||||
|
|
|
||||||
6
setup.py
6
setup.py
|
|
@ -1,4 +1,4 @@
|
||||||
|
import sys
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
exec(open("nomadnet/_version.py", "r").read())
|
exec(open("nomadnet/_version.py", "r").read())
|
||||||
|
|
@ -6,6 +6,10 @@ exec(open("nomadnet/_version.py", "r").read())
|
||||||
with open("README.md", "r") as fh:
|
with open("README.md", "r") as fh:
|
||||||
long_description = fh.read()
|
long_description = fh.read()
|
||||||
|
|
||||||
|
if "--getversion" in sys.argv:
|
||||||
|
print(__version__, end="")
|
||||||
|
exit(0)
|
||||||
|
|
||||||
package_data = {
|
package_data = {
|
||||||
"": [
|
"": [
|
||||||
"examples/messageboard/*",
|
"examples/messageboard/*",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue