Skip to content

Commit

Permalink
Install only *.py files from nmodl directory
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

Change-Id: I7f6bddbba71c48f9841d1f07e22f8479602ab0f3
  • Loading branch information
pramodk committed Apr 16, 2019
1 parent fa7ce0a commit 4293093
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 4293093

Please sign in to comment.