Commit 8f5aa0d6 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

astakosclient: Trick setup into loading version module

setup.py tries to load astakosclient.version module
before checking for astakosclient package dependencies
which leads to importErrors.

Trick setup to load only version module by changing sys.path.
parent 3441188f
......@@ -43,7 +43,9 @@ from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.normpath(os.path.dirname(__file__)))
from astakosclient.version import __version__
# Add astakosclient to sys.path and load version module
sys.path.append("astakosclient")
from version import __version__
# Package info
VERSION = __version__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment