Skip to content

Commit

Permalink
setup fix (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
clonker authored Apr 11, 2022
1 parent 2b03b92 commit f72493c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ add_subdirectory(deeptime/clustering)
add_subdirectory(deeptime/basis)
add_subdirectory(deeptime/markov)

add_subdirectory(examples/clustering_custom_metric)
if (NOT SKBUILD)
add_subdirectory(examples/clustering_custom_metric)
endif()

if(DEEPTIME_BUILD_CPP_TESTS)
add_subdirectory(tests)
Expand Down
5 changes: 4 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ include LICENSE.txt
include pyproject.toml

# sources of extensions (incl. cython)
recursive-include deeptime *.pyx *.h *.hpp *.c *.cpp
recursive-include deeptime *.pyx *.h *.hpp *.c *.cpp CMakeLists.txt

prune tests
prune docs
prune *.egg-info
prune .github
prune _skbuild
prune examples
prune cmake-build-*

0 comments on commit f72493c

Please sign in to comment.