summaryrefslogtreecommitdiffstats
path: root/python/builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/builder.py')
-rw-r--r--python/builder.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/builder.py b/python/builder.py
index 81636a1..ae41eb8 100644
--- a/python/builder.py
+++ b/python/builder.py
@@ -61,16 +61,16 @@ if os.environ.get('ASTRA_INSTALL_LIBRARY_AS_DATA', ''):
cmdclass = {}
ext_modules = []
-ext_modules = cythonize(os.path.join(self_path, 'astra', '*.pyx'),
+ext_modules = cythonize(os.path.join('.', 'astra', '*.pyx'),
language_level=2)
cmdclass = {'build_ext': build_ext}
for m in ext_modules:
if m.name in ('astra.plugin_c', 'astra.algorithm_c'):
- m.sources.append(os.path.join(self_path, 'astra', 'src',
+ m.sources.append(os.path.join('.', 'astra', 'src',
'PythonPluginAlgorithm.cpp'))
if m.name in ('astra.plugin_c'):
- m.sources.append(os.path.join(self_path, 'astra', 'src',
+ m.sources.append(os.path.join('.', 'astra', 'src',
'PythonPluginAlgorithmFactory.cpp'))
setup(name='astra-toolbox',