Removes distutils code, old aliases, and bad url from setup.py

Change-Id: I63031ca0ae1cdbfe5a6b220c56a63518471b7f9e
This commit is contained in:
Jose Idar 2014-05-22 14:05:01 -05:00
parent 33910826ad
commit 29260c53bd

View File

@ -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 See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
""" """
from setuptools import setup, find_packages
import os from setuptools.command.install import install as _install
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()
def print_cafe_mug(): def print_cafe_mug():
@ -77,7 +64,6 @@ setup(
open('HISTORY.rst').read()), open('HISTORY.rst').read()),
author='Rackspace Cloud QE', author='Rackspace Cloud QE',
author_email='cloud-cafe@lists.rackspace.com', author_email='cloud-cafe@lists.rackspace.com',
url='http://rackspace.com',
packages=find_packages(), packages=find_packages(),
include_package_data=True, include_package_data=True,
install_requires=requires, install_requires=requires,