mirror of
https://github.com/blw1138/cross-py-builder.git
synced 2025-12-17 08:38:11 +00:00
Remove version.py
This commit is contained in:
@@ -16,8 +16,8 @@ import shutil
|
|||||||
import uuid
|
import uuid
|
||||||
import platform
|
import platform
|
||||||
from zeroconf_server import ZeroconfServer
|
from zeroconf_server import ZeroconfServer
|
||||||
from version import APP_VERSION, APP_NAME
|
|
||||||
|
|
||||||
|
APP_NAME = "cross-py-builder"
|
||||||
build_agent_version = "0.1.33"
|
build_agent_version = "0.1.33"
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
@@ -354,7 +354,7 @@ def delete_cache():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
print(f"===== {APP_NAME} {APP_VERSION} Build Agent (v{build_agent_version}) =====")
|
print(f"===== {APP_NAME} Build Agent (v{build_agent_version}) =====")
|
||||||
ZeroconfServer.configure("_crosspybuilder._tcp.local.", socket.gethostname(), 9001)
|
ZeroconfServer.configure("_crosspybuilder._tcp.local.", socket.gethostname(), 9001)
|
||||||
try:
|
try:
|
||||||
ZeroconfServer.start()
|
ZeroconfServer.start()
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
APP_NAME = "cross-py-builder"
|
|
||||||
APP_VERSION = "1.0.0"
|
|
||||||
Reference in New Issue
Block a user