Skip to content

Commit

Permalink
Update recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Sep 13, 2017
1 parent e904832 commit 05cac02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/conda/python-autowig/bld.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
echo ON

if "%PY3K%" == "1" (
2to3 -n -w %SRC_DIR%\src\py\autowig
2to3 -n -w %SRC_DIR%\test
2to3 -n -w %RECIPE_DIR%\wig.py
)

python setup.py install --prefix=%PREFIX%
if errorlevel 1 exit 1
rem if exist %SP_DIR%\AutoWIG move %SP_DIR%\AutoWIG %SP_DIR%\autowig /s /q
Expand Down
1 change: 1 addition & 0 deletions bin/conda/python-autowig/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set -ev
if [[ "$PY3K" = 1 ]]; then
2to3 -n -w $SRC_DIR/src/py/autowig
2to3 -n -w $SRC_DIR/test
2to3 -n -w $RECIPE_DIR/wig.py
fi

$PYTHON setup.py install --prefix=$PREFIX
Expand Down

0 comments on commit 05cac02

Please sign in to comment.