Skip to content

Commit

Permalink
rename script with dash & rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienChampagnol committed Oct 29, 2024
1 parent 562d047 commit b73a9fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ RUN pip3 install https://www.vtk.org/files/release/9.3/vtk_osmesa-9.3.0-cp39-cp3
ENV PYTHONPATH="/usr/local:$PYTHONPATH"
ENV PYTHON_ENV="prod"

CMD python src/vease_viewer/app.py
CMD "vease-viewer"

EXPOSE 1234
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ gpu = ["vtk == 9.*"]
"Bug Tracker" = "https://github.com/Geode-solutions/Vease-Viewer/issues"

[project.scripts]
vease_viewer = "vease_viewer.app:run_viewer"
vease-viewer = "vease_viewer.app:run_viewer"


[tool.setuptools.dynamic]
Expand Down
2 changes: 1 addition & 1 deletion src/geodeapp_viewer/app.py → src/vease_viewer/app.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Standard library imports

# Third party imports
from opengeodeweb_viewer import vtkw_server

# Local application imports
from opengeodeweb_viewer import vtkw_server


def run_viewer():
Expand Down

0 comments on commit b73a9fe

Please sign in to comment.