remove now redundant setup.py.in
Not used anymore with the manual cython compiling processrelease/4.3a0
parent
1521a7e8ef
commit
504022a514
|
@ -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()))
|
|
||||||
)
|
|
|
@ -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()))
|
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in New Issue