diff options
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 25 |
1 files changed, 3 insertions, 22 deletions
@@ -1,23 +1,4 @@ -from distutils.core import setup -from os.path import join -# PyFITS -try: - import pyfits -except ImportError: - print "WARNING: PyFITS must be installed to use hstwcs." - print " Since this is not a build-time dependency, the build will proceed." +#!/usr/bin/env python -# PyWCS -try: - import pywcs -except ImportError: - print "WARNING: PyWCS must be installed to use hstwcs." - print " Since this is not a build-time dependency, the build will proceed." - -setup(name="hstwcs", - version="0.1", - description="HST WCS Corrections", - packages=['hstwcs', 'hstwcs/updatewcs', 'hstwcs/wcsutil', 'hstwcs/distortion'], - package_dir={'hstwcs':'lib', 'hstwcs/updatewcs': 'updatewcs', - 'hstwcs/wcsutil': 'wcsutil', 'hstwcs/distortion': 'distortion'} - ) +import pytools.stsci_distutils_hack +pytools.stsci_distutils_hack.run(pytools_version = "3.0") |