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 566dd68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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
5 changes: 2 additions & 3 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ cmake --build . --config Release ${NUM_PARALLEL}
cmake --build . --config Release --target install
ctest --output-on-failure -C Release

cd ..

# 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

0 comments on commit 566dd68

Please sign in to comment.