diff options
author | 2012-06-16 05:08:39 -0700 | |
---|---|---|
committer | 2012-06-16 05:08:39 -0700 | |
commit | 7058e41158a55f900d9a2e7181dcf4bcdd5e8237 (patch) | |
tree | b075e2f208654f1c374395a58813adc62b369a90 | |
parent | Update readme and authors (diff) | |
parent | Allow "python setup.py test" (diff) | |
download | python-github3-7058e41158a55f900d9a2e7181dcf4bcdd5e8237.tar.xz python-github3-7058e41158a55f900d9a2e7181dcf4bcdd5e8237.zip |
Merge pull request #13 from ralphbean/test-collector
Allow "python setup.py test"
-rw-r--r-- | setup.py | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -4,6 +4,13 @@ from setuptools import setup, find_packages import pygithub3 +# Odd hack to get 'python setup.py test' working on py2.7 +try: + import multiprocessing + import logging +except ImportError: + pass + setup( name=pygithub3.__name__, version=pygithub3.__version__, @@ -14,6 +21,11 @@ setup( long_description=open('README.rst').read(), license='ISC', packages=find_packages(exclude=['*tests*']), + test_suite='nose.collector', + tests_require=[ + 'nose', + 'mock', + ], install_requires=map(str.strip, open('requirements/base.txt')), include_package_data=True, classifiers=( |