Skip to content
Snippets Groups Projects
Unverified Commit dc870039 authored by Thorsten Hater's avatar Thorsten Hater
Browse files

Fix sdist generation

parent 151a670b
No related branches found
Tags v0.10.0-rc3
No related merge requests found
......@@ -18,7 +18,12 @@ function(check_git_submodule name path)
"Or download submodules recursively when checking out:\n"
" git clone --recursive https://github.com/arbor-sim/arbor.git\n"
)
get_filename_component(dotgit "${path}/" ABSOLUTE)
file(GLOB RESULT "${path}/*")
list(LENGTH RESULT RES_LEN)
if(NOT RES_LEN EQUAL 0)
message("However, the directory contains some ($RES_LEN) files. Possibly .git was omitted?")
endif()
# if the repository was not available, and git failed, set AVAIL to false
set(${success_var} OFF PARENT_SCOPE)
endif()
......
......@@ -36,6 +36,7 @@ cmake.args = [
"-DARB_WITH_PYTHON=ON",
"-DARB_USE_BUNDLED_LIBS=ON",
]
sdist.include = ["ext/*/.git"]
wheel.install-dir = "arbor"
wheel.packages = []
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment