Move cli.py into app folder
This commit is contained in:
parent
b2fc2d604a
commit
de81f2fd9f
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@ -5,7 +5,7 @@
|
|||||||
"name": "pyzebra",
|
"name": "pyzebra",
|
||||||
"type": "python",
|
"type": "python",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceFolder}/pyzebra/cli.py",
|
"program": "${workspaceFolder}/pyzebra/app/cli.py",
|
||||||
"console": "internalConsole",
|
"console": "internalConsole",
|
||||||
"env": {},
|
"env": {},
|
||||||
},
|
},
|
||||||
|
@ -10,7 +10,7 @@ source:
|
|||||||
build:
|
build:
|
||||||
number: 0
|
number: 0
|
||||||
entry_points:
|
entry_points:
|
||||||
- pyzebra = pyzebra.cli:main
|
- pyzebra = pyzebra.app.cli:main
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
build:
|
build:
|
||||||
|
@ -18,7 +18,7 @@ def main():
|
|||||||
This is a wrapper around a bokeh server that provides an interface to launch the application,
|
This is a wrapper around a bokeh server that provides an interface to launch the application,
|
||||||
bundled with the pyzebra package.
|
bundled with the pyzebra package.
|
||||||
"""
|
"""
|
||||||
app_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "app", "app.py")
|
app_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "app.py")
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
prog="pyzebra", formatter_class=argparse.ArgumentDefaultsHelpFormatter
|
prog="pyzebra", formatter_class=argparse.ArgumentDefaultsHelpFormatter
|
Loading…
x
Reference in New Issue
Block a user