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",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/pyzebra/cli.py",
|
||||
"program": "${workspaceFolder}/pyzebra/app/cli.py",
|
||||
"console": "internalConsole",
|
||||
"env": {},
|
||||
},
|
||||
|
@ -10,7 +10,7 @@ source:
|
||||
build:
|
||||
number: 0
|
||||
entry_points:
|
||||
- pyzebra = pyzebra.cli:main
|
||||
- pyzebra = pyzebra.app.cli:main
|
||||
|
||||
requirements:
|
||||
build:
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user