From 64d5530e35dccd07ec560c67d116afc4d10e39f1 Mon Sep 17 00:00:00 2001 From: Salim Fadhley Date: Sun, 13 Jul 2014 22:29:14 +0100 Subject: [PATCH] revert accidental removel of unittest2 from the setup.py script --- build.xml | 18 ++++++++++++++---- setup.py | 4 ++-- 2 files changed, 16 insertions(+), 6 deletions(-) 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, -- 2.34.1