mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
Fix commit version in Cython package
This commit is contained in:
parent
6f228b0a53
commit
194cd1fa19
@ -83,11 +83,13 @@ def replace_git_hash(target, source, env):
|
||||
sdist(localenv.RecursiveInstall(
|
||||
"src",
|
||||
"#src",
|
||||
exclude=["fortran", "matlab", "clib", r"global\.cpp", "SCons.*"],
|
||||
exclude=["fortran", "matlab", "clib", r"global\.cpp", "SCons.*", r"canteraStatic\.cpp"],
|
||||
))
|
||||
|
||||
sdist(localenv.Command("src/base/global.cpp", "#src/base/global.cpp",
|
||||
replace_git_hash))
|
||||
sdist(localenv.Command("include/cantera/cython/utils_utils.h", "#include/cantera/cython/utils_utils.h",
|
||||
replace_git_hash))
|
||||
|
||||
# This is the only bit of the clib that we need for the Python interface
|
||||
clib_defs_target = sdist(localenv.Command(
|
||||
@ -106,6 +108,7 @@ include_target = sdist(localenv.RecursiveInstall(
|
||||
"clib$",
|
||||
"ext$",
|
||||
r"config\.h\.in",
|
||||
r"utils_utils\.h",
|
||||
],
|
||||
))
|
||||
localenv.Depends(clib_defs_target, include_target)
|
||||
|
Loading…
Reference in New Issue
Block a user