From 03dee283f0cdbf917d2ff3cbee3fbe45e0b0e430 Mon Sep 17 00:00:00 2001 From: John Brodie Date: Wed, 19 Dec 2012 15:09:11 -0500 Subject: [PATCH 1/2] Update metadata used by pypi --- setup.py | 39 +++++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index 09820ca..1875552 100644 --- a/setup.py +++ b/setup.py @@ -1,21 +1,44 @@ from setuptools import setup, find_packages +from sys import version + +if version < '2.2.3': + from distutils.dist import DistributionMetadata + DistributionMetadata.classifiers = None + DistributionMetadata.download_url = None setup( name='aweber_api', version='1.1.3', - packages=find_packages(exclude=['tests']), + author='AWeber Dev Team', + author_email='api@aweber.com', + maintainer='AWeber API Team', + maintainer_email='api@aweber.com', url='https://github.com/aweber/AWeber-API-Python-Library', - install_requires = [ + download_url='http://pypi.python.org/pypi/aweber_api', + description='The AWeber API Python Library allows you to quickly get up ' + 'and running with integrating access to the AWeber API into your ' + 'Python applications.', + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', + 'Environment :: Web Environment', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Internet :: WWW/HTTP', + 'Topic :: Software Development :: Libraries :: Python Modules', + 'License :: OSI Approved :: BSD License', + ], + packages=find_packages(exclude=['tests']), + install_requires=[ 'httplib2>=0.7.0', 'oauth2>=1.2', - ], - tests_require = [ + ], + tests_require=[ 'dingus', 'coverage', - ], - setup_requires = [ + ], + setup_requires=[ 'nose', - ], + ], include_package_data=True ) - From 0ccdb0dd088f6b099195b89c17a4f8188d208d8e Mon Sep 17 00:00:00 2001 From: John Brodie Date: Wed, 19 Dec 2012 15:11:33 -0500 Subject: [PATCH 2/2] Update gitignore --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 75fca04..8d05c0b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,8 @@ *.svn *.egg-info *.swp +*.egg +*.coverage build/ +coverage/ +nosetests.xml