-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# distopia python layer | ||
add_cython_target(_distopia CXX PY3) | ||
add_library(_distopia MODULE ${_distopia}) | ||
python_extension_module(_distopia) | ||
target_link_libraries(_distopia libdistopia) | ||
add_cython_target(pydistopia CXX PY3) | ||
add_library(pydistopia MODULE ${pydistopia}) | ||
python_extension_module(pydistopia) | ||
target_link_libraries(pydistopia libdistopia) | ||
|
||
if(APPLE) | ||
set_target_properties(_distopia PROPERTIES INSTALL_RPATH "@loader_path") | ||
set_target_properties(pydistopia PROPERTIES INSTALL_RPATH "@loader_path") | ||
else() | ||
set_target_properties(_distopia PROPERTIES INSTALL_RPATH "\$ORIGIN") | ||
set_target_properties(pydistopia PROPERTIES INSTALL_RPATH "\$ORIGIN") | ||
endif() | ||
|
||
install(TARGETS _distopia LIBRARY DESTINATION distopia) | ||
install(TARGETS pydistopia LIBRARY DESTINATION distopia) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
from ._distopia import ( | ||
from .pydistopia import ( | ||
calc_bonds_ortho, | ||
calc_bonds_no_box, | ||
calc_bonds_triclinic, | ||
|
File renamed without changes.