From 5b61eb1ef2f7cb0bf4a074cecb2522e423c079b5 Mon Sep 17 00:00:00 2001 From: sienkiew Date: Fri, 11 Jan 2013 22:16:00 +0000 Subject: new install git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@21558 fe389314-cf27-0410-b35b-8c050e845b92 --- new_setup.py | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100755 new_setup.py (limited to 'new_setup.py') diff --git a/new_setup.py b/new_setup.py deleted file mode 100755 index 30dc9b6..0000000 --- a/new_setup.py +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env python - -try: - from setuptools import setup -except ImportError: - from distribute_setup import use_setuptools - 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.5', 'stsci.distutils==0.2'], - d2to1=True, - use_2to3=True, - zip_safe=False -) -- cgit