Skip to content

Commit

Permalink
use mac CommandLineTools to build python on Macs
Browse files Browse the repository at this point in the history
  • Loading branch information
maqifrnswa committed Jul 25, 2020
1 parent c0f3eb3 commit 99e26ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ init:
install:
- sh: brew install tcl-tk pyenv pyenv-virtualenv
- sh: eval "$(pyenv init -)"
- sh: SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk PYTHON_CONFIGURE_OPTS="--with-tcltk-includes='-I/usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6' --enable-framework" pyenv install 3.7.8
- sh: SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/ PYTHON_CONFIGURE_OPTS="--with-tcltk-includes='-I/usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6' --enable-framework" pyenv install 3.7.8
- sh: pyenv global 3.7.8
- sh: pyenv virtualenv 3.7.8 pcsienv
- sh: pyenv activate pcsienv
Expand All @@ -24,9 +24,9 @@ install:
build_script:
- pyinstaller pcsiGUI-linuxOD.spec

on_finish:
- sh: export APPVEYOR_SSH_BLOCK=true
- sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
#on_finish:
#- sh: export APPVEYOR_SSH_BLOCK=true
#- sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -

artifacts:
- path: dist\pcsiGUI
Expand Down

0 comments on commit 99e26ae

Please sign in to comment.