From 4de49906d40f862dea2cbcabdbcf5eec91530e1a Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Thu, 13 Feb 2020 11:41:36 +0100 Subject: [PATCH] WIP --- python/setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python/setup.py b/python/setup.py index 5ff22009a..4c88dde93 100755 --- a/python/setup.py +++ b/python/setup.py @@ -110,6 +110,10 @@ class BuildExt(build_ext): opts.append('/DVERSION_INFO=\\"%s\\"' % self.distribution.get_version()) for ext in self.extensions: ext.extra_compile_args = opts + + print('--------------') + print(ct) + print(opts) build_ext.build_extensions(self) @@ -125,6 +129,7 @@ setup( description='Detector API for SLS Detector Group detectors', long_description='', ext_modules=ext_modules, + cmdclass={'build_ext': BuildExt}, packages=['sls_detector'], # data_files = [('', get_shared_lib())], zip_safe=False,