Source

shrinkwrap_pkgs_snoplus / xercesc.py

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


version = '3.1.1'

setup(
    name='xercesc',
    version=version,
    author='Andy Mastbaum',
    author_email='mastbaum@hep.upenn.edu',
    shrinkwrap_installer='autoconf',
    shrinkwrap_source_url='http://apache.mirrors.tds.net//xerces/c/3/sources/xerces-c-%s.tar.gz' % version,
    cmdclass={'install': ShrinkwrapInstall},
)