aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/setup.py')
-rw-r--r--pathod/setup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pathod/setup.py b/pathod/setup.py
index ff50bdd0..3972d8ff 100644
--- a/pathod/setup.py
+++ b/pathod/setup.py
@@ -1,13 +1,16 @@
from setuptools import setup, find_packages
from codecs import open
import os
-from libpathod import version
+import sys
# Based on https://github.com/pypa/sampleproject/blob/master/setup.py
# and https://python-packaging-user-guide.readthedocs.org/
here = os.path.abspath(os.path.dirname(__file__))
+sys.path.append(os.path.join(here, "..", "netlib"))
+from libpathod import version
+
with open(os.path.join(here, 'README.txt'), encoding='utf-8') as f:
long_description = f.read()