diff --git a/cython/gtsam/setup.py.in b/cython/gtsam/setup.py.in deleted file mode 100644 index 1ae067690..000000000 --- a/cython/gtsam/setup.py.in +++ /dev/null @@ -1,24 +0,0 @@ -from distutils.core import setup -from distutils.extension import Extension -from Cython.Build import cythonize -import eigency -import sys -import os - -os.environ["CXX"] = "${CMAKE_CXX_COMPILER}" -os.environ["CC"] = "${CMAKE_C_COMPILER}" - -setup( - ext_modules = cythonize(Extension( - "gtsam", - sources=["gtsam.pyx"], - include_dirs = ["${PROJECT_SOURCE_DIR}", "${CMAKE_BINARY_DIR}", - "${PROJECT_SOURCE_DIR}/gtsam/3rdparty/Eigen", - "${Boost_INCLUDE_DIR}" - ] + eigency.get_includes(include_eigen=False), - libraries = ['gtsam${gtsam_library_postfix}'], - library_dirs = ["${CMAKE_CURRENT_BINARY_DIR}"], - language="c++", - extra_compile_args="${CMAKE_CXX_FLAGS}".split(), - extra_link_args="${CMAKE_SHARED_LINKER_FLAGS}".split())) -) diff --git a/cython/gtsam_unstable/setup.py.in b/cython/gtsam_unstable/setup.py.in deleted file mode 100644 index d7057cec7..000000000 --- a/cython/gtsam_unstable/setup.py.in +++ /dev/null @@ -1,29 +0,0 @@ -from distutils.core import setup -from distutils.extension import Extension -from Cython.Build import cythonize -import eigency -import sys -import os - -# so that it can find the wrapped gtsam package -sys.path.append("..") - -os.environ["CXX"] = "${CMAKE_CXX_COMPILER}" -os.environ["CC"] = "${CMAKE_C_COMPILER}" - -setup( - ext_modules=cythonize(Extension( - "gtsam_unstable", - sources=["gtsam_unstable.pyx"], - include_dirs = ["${CMAKE_SOURCE_DIR}", "${CMAKE_BINARY_DIR}", - "${CMAKE_SOURCE_DIR}/gtsam/3rdparty/Eigen", - "${Boost_INCLUDE_DIR}" - ] + eigency.get_includes(include_eigen=False), - libraries=['gtsam${gtsam_library_postfix}', 'gtsam_unstable${gtsam_library_postfix}'], - library_dirs = ["${CMAKE_BINARY_DIR}/gtsam", - "${CMAKE_BINARY_DIR}/gtsam_unstable"], - language="c++", - extra_compile_args="${CMAKE_CXX_FLAGS}".split(), - extra_link_args="${CMAKE_SHARED_LINKER_FLAGS}".split())) -) -