diff options
author | 2012-06-13 22:43:49 -0400 | |
---|---|---|
committer | 2012-06-13 22:43:49 -0400 | |
commit | b56a53ffda38245bb2ed9aafa69f84e3eda90056 (patch) | |
tree | 95bcb736cab391f2cda03374a37d87204cd2994c /setup.py | |
parent | Merge #5 'services/orgs' (diff) | |
download | python-github3-b56a53ffda38245bb2ed9aafa69f84e3eda90056.tar.xz python-github3-b56a53ffda38245bb2ed9aafa69f84e3eda90056.zip |
Allow "python setup.py test"
Diffstat (limited to '')
-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=( |