Source

shrinkwrap_pkgs_snoplus / xpm.py

Full commit
try:
    from shrinkwrap.install import ShrinkwrapInstall
except ImportError:
    import subprocess; subprocess.check_call('pip install -b $VIRTUAL_ENV/build/build-shrinkwrap shrinkwrap', shell=True)
    from shrinkwrap.install import ShrinkwrapInstall
from setuptools import setup


version = '3.5.10'

setup(
    name='xpm',
    version=version,
    author='Andy Mastbaum',
    author_email='mastbaum@hep.upenn.edu',
    shrinkwrap_installer='autoconf',
    shrinkwrap_source_url='http://xorg.freedesktop.org/archive/individual/lib/libXpm-%s.tar.gz' % version,
    shrinkwrap_requires=['gettext'],
    cmdclass={'install': ShrinkwrapInstall},
)