From: Salim Fadhley Date: Sun, 13 Jul 2014 21:29:14 +0000 (+0100) Subject: revert accidental removel of unittest2 from the setup.py script X-Git-Tag: v0.2.23~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=64d5530e35dccd07ec560c67d116afc4d10e39f1;p=tools%2Fpython-jenkinsapi.git revert accidental removel of unittest2 from the setup.py script --- diff --git a/build.xml b/build.xml index 545d916..72d8a83 100644 --- a/build.xml +++ b/build.xml @@ -1,7 +1,9 @@ - + + + @@ -40,9 +42,17 @@ - - - + + + + + + + + + + + diff --git a/setup.py b/setup.py index dfe19a6..a4a2bd9 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ SHORT_DESCRIPTION = 'A Python API for accessing resources on a Jenkins continuou try: DESCRIPTION = open(os.path.join(PROJECT_ROOT, "README.rst")).read() -except IOError, _: +except IOError: DESCRIPTION = SHORT_DESCRIPTION GLOBAL_ENTRY_POINTS = { @@ -29,7 +29,7 @@ setup( include_package_data=False, install_requires=['requests>=1.2.3', 'pytz>=2013b'], test_suite='nose.collector', - tests_require=['mock', 'nose', 'coverage'], + tests_require=['mock', 'nose', 'coverage', 'unittest2'], entry_points=GLOBAL_ENTRY_POINTS, url=PROJECT_URL, description=SHORT_DESCRIPTION,