Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make `python setup.py test` run tests.

  • Loading branch information...
commit 610d93faca06149bc11907cfed6b8c178aad05c6 1 parent be03d7b
@msabramo msabramo authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 setup.py
  2. 0  test/__init__.py
View
9 setup.py
@@ -1,6 +1,10 @@
import os
import sys
-from distutils.core import setup
+
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
# Don't import stripe module here, since deps may not be installed
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'stripe'))
@@ -31,5 +35,6 @@
url='https://stripe.com/',
packages=['stripe'],
package_data={'stripe' : ['data/ca-certificates.crt', '../VERSION']},
- install_requires=install_requires
+ install_requires=install_requires,
+ test_suite='test',
)
View
0  test/__init__.py
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.