From ad44e29e95145e97ff03f9b535e223a7ab7c1a7c Mon Sep 17 00:00:00 2001 From: q-posev Date: Mon, 30 Aug 2021 15:08:26 +0300 Subject: [PATCH] fix bug with Python version import --- python/install_pytrexio.sh | 2 +- python/pytrexio/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/install_pytrexio.sh b/python/install_pytrexio.sh index fd3dd09..eb9fb2e 100755 --- a/python/install_pytrexio.sh +++ b/python/install_pytrexio.sh @@ -27,7 +27,7 @@ python3 setup.py sdist bdist_wheel # Install pytrexio in the current environment from the aforementioned wheel # --force-reinstall is needed here because build-system pre-installs pytrexio in the environment # but does not install things in the corresponding site-packages directory -python3 -m pip install dist/trexio-0.1-*.whl --force-reinstall +python3 -m pip install dist/trexio-*.whl --force-reinstall # Run the command below in the root directory to install the package in 'editable' (-e) mode without dependencies (--no-deps) #python -m pip install -e . --no-deps diff --git a/python/pytrexio/__init__.py b/python/pytrexio/__init__.py index 8dee4bf..415bcc4 100644 --- a/python/pytrexio/__init__.py +++ b/python/pytrexio/__init__.py @@ -1 +1 @@ -from ._version import __version__ +#from ._version import __version__