Move cli.py into app folder

This commit is contained in:
usov_i 2020-11-06 10:28:43 +01:00
parent b2fc2d604a
commit de81f2fd9f
3 changed files with 3 additions and 3 deletions

2
.vscode/launch.json vendored
View File

@ -5,7 +5,7 @@
"name": "pyzebra",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/pyzebra/cli.py",
"program": "${workspaceFolder}/pyzebra/app/cli.py",
"console": "internalConsole",
"env": {},
},

View File

@ -10,7 +10,7 @@ source:
build:
number: 0
entry_points:
- pyzebra = pyzebra.cli:main
- pyzebra = pyzebra.app.cli:main
requirements:
build:

View File

@ -18,7 +18,7 @@ def main():
This is a wrapper around a bokeh server that provides an interface to launch the application,
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(
prog="pyzebra", formatter_class=argparse.ArgumentDefaultsHelpFormatter