1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/usr/bin/env python try: from setuptools import setup except ImportError: from distribute_setup import use_setuptools use_setuptools() from setuptools import setup setup( setup_requires=['d2to1>=0.2.9', 'stsci.distutils>=0.3.2'], d2to1=True, use_2to3=True, zip_safe=False )