summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Wrappers/Python')
-rw-r--r--Wrappers/Python/CMakeLists.txt16
-rw-r--r--Wrappers/Python/conda-recipe/meta.yaml5
2 files changed, 4 insertions, 17 deletions
diff --git a/Wrappers/Python/CMakeLists.txt b/Wrappers/Python/CMakeLists.txt
index 7833b54..fa1a30b 100644
--- a/Wrappers/Python/CMakeLists.txt
+++ b/Wrappers/Python/CMakeLists.txt
@@ -15,13 +15,6 @@ message("CIL_VERSION ${CIL_VERSION}")
find_package(PythonInterp REQUIRED)
if (PYTHONINTERP_FOUND)
message ("Current Python " ${PYTHON_VERSION_STRING} " found " ${PYTHON_EXECUTABLE})
- if (PYTHON_VERSION_MAJOR EQUAL "3")
- set (BOOST_PYTHON "python3")
- set (BOOST_NUMPY "numpy3")
- else()
- set (BOOST_PYTHON "python")
- set (BOOST_NUMPY "numpy")
- endif()
endif()
@@ -33,21 +26,16 @@ message("CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}")
set(CMAKE_BUILD_TYPE "Release")
if(WIN32)
- set (FLAGS "/DWIN32 /EHsc /DBOOST_ALL_NO_LIB /openmp /DCCPiCore_EXPORTS")
+ set (FLAGS "/DWIN32 /EHsc /openmp /DCCPiCore_EXPORTS")
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB:MSVCRT.lib")
- set (EXTRA_LIBRARIES
- #${Boost_LIBRARIES}
- #"tiff"
- )
+ set (EXTRA_LIBRARIES)
message("library lib: ${LIBRARY_LIB}")
elseif(UNIX)
set (FLAGS "-fopenmp -O2 -funsigned-char -Wall -Wl,--no-undefined -DCCPiReconstructionIterative_EXPORTS -std=c++0x")
set (EXTRA_LIBRARIES
- #${Boost_LIBRARIES}
- #"tiff"
"gomp"
)
endif()
diff --git a/Wrappers/Python/conda-recipe/meta.yaml b/Wrappers/Python/conda-recipe/meta.yaml
index 5336d14..2d79984 100644
--- a/Wrappers/Python/conda-recipe/meta.yaml
+++ b/Wrappers/Python/conda-recipe/meta.yaml
@@ -14,10 +14,9 @@ requirements:
- python
- numpy x.x
- setuptools
- #- boost ==1.64.0
- #- boost-cpp ==1.64.0
- cython
- cil_regulariser
+ - vc 14 # [win and py36]
- vc 14 # [win and py35]
- vc 9 # [win and py27]
- cmake
@@ -25,8 +24,8 @@ requirements:
run:
- python
- numpy x.x
- #- boost ==1.64
- cil_regulariser
+ - vc 14 # [win and py36]
- vc 14 # [win and py35]
- vc 9 # [win and py27]