Skip to content

Commit f72493c

Browse files
authored
setup fix (#231)
1 parent 2b03b92 commit f72493c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ add_subdirectory(deeptime/clustering)
6161
add_subdirectory(deeptime/basis)
6262
add_subdirectory(deeptime/markov)
6363

64-
add_subdirectory(examples/clustering_custom_metric)
64+
if (NOT SKBUILD)
65+
add_subdirectory(examples/clustering_custom_metric)
66+
endif()
6567

6668
if(DEEPTIME_BUILD_CPP_TESTS)
6769
add_subdirectory(tests)

MANIFEST.in

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ include LICENSE.txt
44
include pyproject.toml
55

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

99
prune tests
1010
prune docs
1111
prune *.egg-info
1212
prune .github
13+
prune _skbuild
14+
prune examples
15+
prune cmake-build-*

0 commit comments

Comments
 (0)