Skip to content

Commit

Permalink
Fix path to replace.py script
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Oct 19, 2021
1 parent 2c11150 commit a256ee7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ ctest --output-on-failure -C Release
if errorlevel 1 exit 1

:: Fix Python package version
%PYTHON% replace.py -f setup.py --pre 'use_scm_version=dict(local_scheme="dirty-tag"),' --post "version=$PKG_VERSION,"
cd ..
%PYTHON% %RECIPE_DIR%\replace.py -f setup.py --pre 'use_scm_version=dict(local_scheme="dirty-tag"),' --post "version=$PKG_VERSION,"

:: Python package
%PYTHON% ^
Expand Down
2 changes: 2 additions & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ cmake --build . --config Release ${NUM_PARALLEL}
cmake --build . --config Release --target install
ctest --output-on-failure -C Release

# Fix Python package version
cd ..
$PYTHON ${RECIPE_DIR}/replace.py -f setup.py --pre 'use_scm_version=dict(local_scheme="dirty-tag"),' --post "version=$PKG_VERSION,"

# Fix Python package version
$PYTHON replace.py -f setup.py --pre 'use_scm_version=dict(local_scheme="dirty-tag"),' --post "version=$PKG_VERSION,"
Expand Down

0 comments on commit a256ee7

Please sign in to comment.