[py] remove empty init files
authorPaul Brossier <piem@piem.org>
Thu, 1 Nov 2018 00:04:07 +0000 (01:04 +0100)
committerPaul Brossier <piem@piem.org>
Thu, 1 Nov 2018 00:04:07 +0000 (01:04 +0100)
python/__init__.py [deleted file]
python/lib/__init__.py [deleted file]
python/lib/moresetuptools.py
setup.py

diff --git a/python/__init__.py b/python/__init__.py
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/python/lib/__init__.py b/python/lib/__init__.py
deleted file mode 100644 (file)
index e69de29..0000000
index 2f621a7..3fd4e74 100644 (file)
@@ -2,7 +2,7 @@
 #
 import sys, os, glob, subprocess
 import distutils, distutils.command.clean, distutils.dir_util
-from .gen_external import generate_external, header, output_path
+from gen_external import generate_external, header, output_path
 
 from this_version import get_aubio_version
 
index 21bd495..ab782a1 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,11 @@
 
 import sys, os.path, glob
 from setuptools import setup, Extension
-from python.lib.moresetuptools import build_ext, CleanGenerated
+
+# add ./python/lib to current path
+sys.path.append(os.path.join('python', 'lib'))
+from moresetuptools import build_ext, CleanGenerated
+
 # function to generate gen/*.{c,h}
 from this_version import get_aubio_version, get_aubio_pyversion