summaryrefslogtreecommitdiffstats
path: root/python/builder.py
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2018-07-03 14:32:23 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2018-07-03 14:32:23 +0200
commit0d06afc38d7a8443a079d25d72ec4b4b15353974 (patch)
tree9a866e41d62d0432bad4dd49e4072cc2fed97d29 /python/builder.py
parentb3822b778c2f8684217957c966dddfee178c926c (diff)
downloadastra-0d06afc38d7a8443a079d25d72ec4b4b15353974.tar.gz
astra-0d06afc38d7a8443a079d25d72ec4b4b15353974.tar.bz2
astra-0d06afc38d7a8443a079d25d72ec4b4b15353974.tar.xz
astra-0d06afc38d7a8443a079d25d72ec4b4b15353974.zip
Allow access to python plugin object via algorithm interface
Diffstat (limited to 'python/builder.py')
-rw-r--r--python/builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/builder.py b/python/builder.py
index dd99633..b373366 100644
--- a/python/builder.py
+++ b/python/builder.py
@@ -66,7 +66,7 @@ ext_modules = cythonize(os.path.join(self_path, 'astra', '*.pyx'),
cmdclass = {'build_ext': build_ext}
for m in ext_modules:
- if m.name == 'astra.plugin_c':
+ if m.name in ('astra.plugin_c', 'astra.algorithm_c'):
m.sources.append(os.path.join(self_path, 'astra', 'src',
'PythonPluginAlgorithm.cpp'))