Skip to content

Instantly share code, notes, and snippets.

@ivanalejandro0
ivanalejandro0 / buildqt.py
Last active November 16, 2019 12:22
PySide *.ui and *.qrc files compiler command for setup.py
# Borrowed from: https://github.com/glue-viz/glue/blob/master/setup.py
# Copyright (c) 2013, Glue developers
import os
import subprocess
import sys
from glob import glob
from setuptools import Command
@ivanalejandro0
ivanalejandro0 / pyside-to-virtualenv.sh
Created September 30, 2013 02:27
Symlinks PySide from global installation into virtualenv site-packages
#!/bin/bash
# Symlinks PySide from global installation into virtualenv site-packages
platform='unknown'
unamestr=$(uname)
if [[ "$unamestr" == 'Linux' ]]; then
platform='linux'
elif [[ "$unamestr" == 'Darwin' ]]; then
platform='darwin'
fi