From 29260c53bdd5aa5dcba2e84076b992cf4b405d56 Mon Sep 17 00:00:00 2001 From: Jose Idar Date: Thu, 22 May 2014 14:05:01 -0500 Subject: [PATCH] Removes distutils code, old aliases, and bad url from setup.py Change-Id: I63031ca0ae1cdbfe5a6b220c56a63518471b7f9e --- setup.py | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/setup.py b/setup.py index a40e2680..88e3de04 100644 --- a/setup.py +++ b/setup.py @@ -13,21 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ - -import os -import sys - - -try: - from setuptools import setup, find_packages - from setuptools.command.install import install as _install -except ImportError: - from distutils.core import setup, find_packages - from distutils.command.install import install as _install - -if sys.argv[-1] == 'publish': - os.system('python setup.py sdist upload') - sys.exit() +from setuptools import setup, find_packages +from setuptools.command.install import install as _install def print_cafe_mug(): @@ -77,7 +64,6 @@ setup( open('HISTORY.rst').read()), author='Rackspace Cloud QE', author_email='cloud-cafe@lists.rackspace.com', - url='http://rackspace.com', packages=find_packages(), include_package_data=True, install_requires=requires,