Skip to content

Commit

Permalink
Install only *.py files from nmodl directory (#142)
Browse files Browse the repository at this point in the history
  - previously *.pyc and .so file from top level nmodl directory
      was getting copied to install prefix
  - this was causing issue mentioned in #139
  • Loading branch information
pramodk committed Apr 17, 2019
1 parent fa7ce0a commit 2fb7c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybind/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ add_custom_command(OUTPUT ${NMODL_PYTHON_FILES_OUT}
# Install python binding components
# =============================================================================
install(TARGETS _nmodl DESTINATION lib/python/nmodl)
install(DIRECTORY ${PROJECT_SOURCE_DIR}/nmodl DESTINATION lib/python/)
install(DIRECTORY ${PROJECT_SOURCE_DIR}/nmodl DESTINATION lib/python/ FILES_MATCHING PATTERN "*.py")

0 comments on commit 2fb7c07

Please sign in to comment.