mirror of
https://github.com/blw1138/cross-py-builder.git
synced 2025-12-17 08:38:11 +00:00
Another attempt #2
This commit is contained in:
@@ -293,7 +293,7 @@ def restart_agent(hostname):
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="Build agent manager for cross-py-builder")
|
||||
parser = argparse.ArgumentParser(description="Build agent manager for cross_py_builder")
|
||||
parser.add_argument("--status", action="store_true", help="Get status of available servers")
|
||||
parser.add_argument("--build", type=str, help="Path to the project to build")
|
||||
parser.add_argument("--checkout", type=str, help="Url to Git repo for checkout")
|
||||
@@ -17,7 +17,7 @@ import uuid
|
||||
import platform
|
||||
from zeroconf_server import ZeroconfServer
|
||||
|
||||
APP_NAME = "cross-py-builder"
|
||||
APP_NAME = "cross_py_builder"
|
||||
build_agent_version = "0.1.34"
|
||||
app_port = 9001
|
||||
|
||||
6
setup.py
6
setup.py
@@ -1,14 +1,14 @@
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name="cross-py-builder",
|
||||
name="cross_py_builder",
|
||||
version="0.0.1",
|
||||
packages=find_packages(),
|
||||
install_requires=open("requirements.txt").read().splitlines(),
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"cross-py-agent=build_agent:main",
|
||||
"cross-py-builder=agent_manager:main",
|
||||
"cross-py-agent=cross_py_builder.build_agent:main",
|
||||
"cross_py_builder=cross_py_builder.agent_manager:main",
|
||||
],
|
||||
},
|
||||
author="Brett Williams",
|
||||
|
||||
Reference in New Issue
Block a user