Skip to content

Commit

Permalink
Add python 3 build support. (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
jetfuel authored Mar 15, 2018
1 parent 2a663b7 commit b9fa3ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/release/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ if [ "$1" != "" ]; then
export PYTHON_FLAGS="-DPYTHON_EXECUTABLE:FILEPATH=/opt/python/cp27-cp27mu/bin/python
-DPYTHON_INCLUDE_DIR:PATH=/opt/python/cp27-cp27mu/include/python2.7
-DPYTHON_LIBRARIES:FILEPATH=/opt/_internal/cpython-2.7.11-ucs4/lib/libpython2.7.so"
elif [ "$1" == "cp35-cp35m" ]; then
export LD_LIBRARY_PATH=/opt/_internal/cpython-3.5.1/lib:${LD_LIBRARY_PATH#/opt/_internal/cpython-3.5.1/lib:}
export PATH=/opt/python/cp35-cp35m/bin/:${PATH}
export PYTHON_FLAGS="-DPYTHON_EXECUTABLE:FILEPATH=/opt/python/cp35-cp35m/bin/python
-DPYTHON_INCLUDE_DIR:PATH=/opt/python/cp35-cp35m/include/python3.5m
-DPYTHON_LIBRARIES:FILEPATH=/opt/_internal/cpython-3.5.1/lib/libpython3.so"
fi
fi

Expand Down

0 comments on commit b9fa3ba

Please sign in to comment.