diff options
author | sienkiew <sienkiew@stsci.edu> | 2013-09-11 13:23:47 -0400 |
---|---|---|
committer | sienkiew <sienkiew@stsci.edu> | 2013-09-11 13:23:47 -0400 |
commit | 4422e18eb08288a9352e579875fb32c84479d975 (patch) | |
tree | 413f1f0cfc18af047bde67ca2d6b86b01a690a37 | |
parent | 8c221f5690af65370273647e3d2a0c5da02c060d (diff) | |
download | stwcs_hcf-4422e18eb08288a9352e579875fb32c84479d975.tar.gz |
remove easier_install
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@26688 fe389314-cf27-0410-b35b-8c050e845b92
-rwxr-xr-x | setup.py | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -7,26 +7,6 @@ except ImportError: use_setuptools() from setuptools import setup -try: - from stsci.distutils.command.easier_install import easier_install -except ImportError: - import os - import sys - stsci_distutils = os.path.abspath(os.path.join('..', 'distutils', 'lib')) - if os.path.exists(stsci_distutils) and stsci_distutils not in sys.path: - sys.path.append(stsci_distutils) - try: - from stsci.distutils.command.easier_install import easier_install - import setuptools.command.easy_install - except ImportError: - # If even this failed, we're not in an stsci_python source checkout, - # so there's nothing gained from using easier_install - from setuptools.command.easy_install import easy_install - easier_install = easy_install -# This is required so that easier_install can be used for setup_requires -import setuptools -setuptools.command.easy_install.easy_install = easier_install - setup( setup_requires=['d2to1>=0.2.9', 'stsci.distutils>=0.3.2'], d2to1=True, |