summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsetup.py3
-rw-r--r--src/tdedistutils.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 14b3a1b..36fb10d 100755
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,8 @@ import sys
import os
import glob
-from src import tdedistutils
+sys.path.insert(0,"src") # We need this for the import statement below.
+import tdedistutils
def main():
tdedistutils.setup(name="pytdeextensions",
diff --git a/src/tdedistutils.py b/src/tdedistutils.py
index 1fe2950..35cfb28 100644
--- a/src/tdedistutils.py
+++ b/src/tdedistutils.py
@@ -31,7 +31,7 @@ from distutils import log
from distutils import file_util
from distutils import dir_util
from distutils.util import byte_compile
-from src import qtuicompiler
+import qtuicompiler
import stat
import os,os.path,imp,glob
import sys