Skip to content

Instantly share code, notes, and snippets.

@shkumagai
Last active August 17, 2017 01:01
Show Gist options
  • Save shkumagai/505390efc5ca36a99413f3f72c50d422 to your computer and use it in GitHub Desktop.
Save shkumagai/505390efc5ca36a99413f3f72c50d422 to your computer and use it in GitHub Desktop.
bootstrap of PySide2 (not works for Darwin)
#!/bin/bash
# -*- coding: utf-8 -*-
# Prerequisites: Qt5.9 installed
brew install cmake p7zip
# clone repository
git clone https://code.qt.io/pyside/pyside-setup && cd pyside-setup
# download clang installation
curl -L http://download.qt.io/development_releases/prebuilt/libclang/libclang-release_40-mac.7z | 7z x
export LLVM_INSTALL_DIR=$PWD/libclang
# execute setup.py script
python setup.py install \
--qmake=/usr/local/opt/qt/bin/qmake \
--cmake=/usr/loca/bin/cmake \
--openssl=/usr/local/opt/openssl
echo "PySide2 installation finished."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment