diff --git a/.vscode/launch.json b/.vscode/launch.json index 46b92fb..729b233 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,7 +5,7 @@ "name": "pyzebra", "type": "python", "request": "launch", - "program": "${workspaceFolder}/pyzebra/cli.py", + "program": "${workspaceFolder}/pyzebra/app/cli.py", "console": "internalConsole", "env": {}, }, diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 8a912e5..8d049ac 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -10,7 +10,7 @@ source: build: number: 0 entry_points: - - pyzebra = pyzebra.cli:main + - pyzebra = pyzebra.app.cli:main requirements: build: diff --git a/pyzebra/cli.py b/pyzebra/app/cli.py similarity index 98% rename from pyzebra/cli.py rename to pyzebra/app/cli.py index e3d9f49..bef6bb5 100644 --- a/pyzebra/cli.py +++ b/pyzebra/app/cli.py @@ -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