summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-05-28 20:51:58 -0300
committerdrebs <drebs@leap.se>2013-05-29 11:15:31 -0300
commit116f559198e0a9c26e9291209e81190bb27ef5cf (patch)
treed7a62ba9387a382c3380f7a40161be29e8ce9039 /setup.py
parentb24fd83c64f2b166a192e9cf7835e5f35a15c1e5 (diff)
Move KeyManager submodule from leap.common to here.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 3412b51e..5f8940ca 100755
--- a/setup.py
+++ b/setup.py
@@ -21,6 +21,11 @@ versioneer.versionfile_build = 'leap/_version.py'
versioneer.tag_prefix = '' # tags are like 1.2.0
versioneer.parentdir_prefix = 'leap_client-'
+# The following import avoids the premature unloading of the `util` submodule
+# when running tests, which would cause an error when nose finishes tests and
+# calls the exit function of the multiprocessing module.
+from multiprocessing import util
+
setup_root = os.path.dirname(__file__)
sys.path.insert(0, os.path.join(setup_root, "src"))
@@ -64,10 +69,9 @@ setup(
),
classifiers=trove_classifiers,
install_requires=utils.parse_requirements(),
- # Uncomment when tests are done
- # test_suite='nose.collector',
- # test_requires=utils.parse_requirements(
- # reqfiles=['pkg/test-requirements.pip']),
+ test_suite='nose.collector',
+ tests_require=utils.parse_requirements(
+ reqfiles=['pkg/requirements-testing.pip']),
keywords='LEAP, client, qt, encryption, proxy, openvpn',
author='The LEAP Encryption Access Project',
author_email='info@leap.se',