Skip to content

Commit 32b540e

Browse files
committed
Merge branch 'master' into heterogeneous-Lambdify
2 parents d35b2a6 + f813962 commit 32b540e

File tree

7 files changed

+187
-129
lines changed

7 files changed

+187
-129
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ def finalize_options(self):
174174
self.define = _process_define(self)
175175
cmake_opts.extend(self.define)
176176
cmake_build_type[0] = self.build_type
177-
cmake_opts.extend([('PYTHON_INSTALL_PATH', self.install_platlib)])
177+
cmake_opts.extend([('PYTHON_INSTALL_PATH', path.join(os.getcwd(), self.install_platlib))])
178178
cmake_opts.extend([('PYTHON_INSTALL_HEADER_PATH',
179-
self.install_headers)])
179+
path.join(os.getcwd(), self.install_headers))])
180180

181181
def cmake_install(self):
182182
source_dir = path.dirname(path.realpath(__file__))

symengine/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ add_subdirectory(lib)
22
add_subdirectory(tests)
33

44
set(PY_PATH ${PYTHON_INSTALL_PATH}/symengine)
5-
install(FILES __init__.py utilities.py compatibility.py sympy_compat.py functions.py
5+
install(FILES __init__.py utilities.py compatibility.py sympy_compat.py functions.py printing.py
66
DESTINATION ${PY_PATH}
77
)

symengine/lib/symengine.pxd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,3 +802,6 @@ IF HAVE_SYMENGINE_MPC:
802802

803803
cdef extern from "<symengine/parser.h>" namespace "SymEngine":
804804
RCP[const Basic] parse(const string &n) nogil except +
805+
806+
cdef extern from "<symengine/codegen.h>" namespace "SymEngine":
807+
string ccode(const Basic &x) nogil except +

0 commit comments

Comments
 (0)