diff --git a/setup.py b/setup.py index 200c394ff..81790d11b 100644 --- a/setup.py +++ b/setup.py @@ -11,19 +11,6 @@ path, script = os.path.split(sys.argv[0]) os.chdir(os.path.abspath(path)) -install_requires = [] - -if sys.version_info < (2, 6): - warnings.warn( - 'Python 2.5 is no longer officially supported by Stripe. ' - 'If you have any questions, please file an issue on Github or ' - 'contact us at support@stripe.com.', - DeprecationWarning) - install_requires.append('requests >= 0.8.8, < 0.10.1') - install_requires.append('ssl') -else: - install_requires.append('requests >= 0.8.8') - with open('LONG_DESCRIPTION.rst') as f: long_description = f.read() @@ -32,14 +19,6 @@ with open(os.path.join('stripe', 'version.py')) as f: exec(f.read(), version_contents) -# Get simplejson if we don't already have json -if sys.version_info < (3, 0): - try: - from util import json - except ImportError: - install_requires.append('simplejson') - - setup( name='stripe', version=version_contents['VERSION'], @@ -52,7 +31,9 @@ packages=['stripe', 'stripe.api_resources', 'stripe.api_resources.abstract'], package_data={'stripe': ['data/ca-certificates.crt']}, - install_requires=install_requires, + install_requires=[ + 'requests >= 0.8.8', + ], test_suite='tests', tests_require=['unittest2', 'mock'], classifiers=[