Skip to content

Commit b932592

Browse files
committed
fix installing
1 parent fe65477 commit b932592

File tree

3 files changed

+26
-14
lines changed

3 files changed

+26
-14
lines changed

symengine/CMakeLists.txt

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
add_subdirectory(lib)
22

33
if (SYMENGINE_INSTALL_PY_FILES)
4-
add_subdirectory(tests)
5-
6-
set(PY_PATH ${PYTHON_INSTALL_PATH}/symengine)
7-
install(FILES __init__.py utilities.py sympy_compat.py functions.py printing.py
8-
DESTINATION ${PY_PATH}
9-
)
4+
add_subdirectory(tests)
5+
set(PY_PATH ${PYTHON_INSTALL_PATH}/symengine)
6+
install(
7+
FILES
8+
__init__.py
9+
functions.py
10+
printing.py
11+
sympy_compat.py
12+
test_utilities.py
13+
utilities.py
14+
DESTINATION
15+
${PY_PATH}
16+
)
1017
endif ()

symengine/tests/CMakeLists.txt

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
set(PY_PATH ${PYTHON_INSTALL_PATH}/symengine/tests)
2-
install(FILES __init__.py
2+
install(
3+
FILES
4+
__init__.py
35
test_arit.py
6+
test_cse.py
47
test_dict_basic.py
58
test_eval.py
69
test_expr.py
710
test_functions.py
8-
test_number.py
11+
test_lambdify.py
12+
test_logic.py
913
test_matrices.py
1014
test_ntheory.py
15+
test_number.py
16+
test_pickling.py
1117
test_printing.py
1218
test_sage.py
1319
test_series_expansion.py
@@ -16,10 +22,9 @@ install(FILES __init__.py
1622
test_subs.py
1723
test_symbol.py
1824
test_sympify.py
25+
test_sympy_compat.py
1926
test_sympy_conv.py
2027
test_var.py
21-
test_lambdify.py
22-
test_sympy_compat.py
23-
test_logic.py
24-
DESTINATION ${PY_PATH}
25-
)
28+
DESTINATION
29+
${PY_PATH}
30+
)

symengine_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.14.0
1+
153b7e98f310bccaae586dab6b49284ccd5f4174

0 commit comments

Comments
 (0)