diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2018-01-22 16:15:20 +0000 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2018-01-23 22:45:21 +0000 |
commit | 3cc20874098867aab11313b7fb1d1f65c400fa0c (patch) | |
tree | ce58d557d0d20ced7dd56685fae5199612fd016a /Wrappers/Python/setup.py | |
parent | 3bb67831f3eaa9e09b8c97568b150541ceaac995 (diff) | |
download | regularization-3cc20874098867aab11313b7fb1d1f65c400fa0c.tar.gz regularization-3cc20874098867aab11313b7fb1d1f65c400fa0c.tar.bz2 regularization-3cc20874098867aab11313b7fb1d1f65c400fa0c.tar.xz regularization-3cc20874098867aab11313b7fb1d1f65c400fa0c.zip |
fixed setup.py, bugfixes
Diffstat (limited to 'Wrappers/Python/setup.py')
-rw-r--r-- | Wrappers/Python/setup.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Wrappers/Python/setup.py b/Wrappers/Python/setup.py index ef20a27..d2129b0 100644 --- a/Wrappers/Python/setup.py +++ b/Wrappers/Python/setup.py @@ -32,8 +32,9 @@ extra_compile_args = [] extra_link_args = [] extra_libraries = ['cilreg'] -extra_include_dirs += [os.path.join(".." , ".." , "Core", "regularizers_CPU"), - os.path.join(".." , ".." , "Core", "regularizers_GPU") , +extra_include_dirs += [os.path.join(".." , ".." , "Core"), + os.path.join(".." , ".." , "Core", "regularizers_CPU"), + os.path.join(".." , ".." , "Core", "regularizers_GPU") , "."] if platform.system() == 'Windows': @@ -57,7 +58,7 @@ setup( description='CCPi Core Imaging Library - Image Regularizers', version=cil_version, cmdclass = {'build_ext': build_ext}, - ext_modules = [Extension("ccpi.imaging.cpu_regularizers", + ext_modules = [Extension("ccpi.filters.cpu_regularizers", sources=[os.path.join("." , "fista_module.cpp" ), # os.path.join("@CMAKE_SOURCE_DIR@" , "main_func" , "regularizers_CPU", "FGP_TV_core.c"), # os.path.join("@CMAKE_SOURCE_DIR@" , "main_func" , "regularizers_CPU", "SplitBregman_TV_core.c"), @@ -73,7 +74,7 @@ setup( ], zip_safe = False, - packages = {'ccpi','ccpi.imaging'}, + packages = {'ccpi','ccpi.filters'}, ) |