Skip to content

Commit

Permalink
change name (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmacdope authored Oct 16, 2024
1 parent 2aa953e commit d8d0e4a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions distopia/CMakeLists.txt
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)
2 changes: 1 addition & 1 deletion distopia/__init__.py
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,
Expand Down
File renamed without changes.

0 comments on commit d8d0e4a

Please sign in to comment.