Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Rose <erik@mozilla.com>2016-01-11 21:01:25 +0300
committerErik Rose <erik@mozilla.com>2016-01-12 05:26:41 +0300
commit6c05197a43fffe3dcd2c10f41954f8a61aec2134 (patch)
tree4bc59b116cc8cb618d440a1a274b075bc444c773 /letsencrypt-nginx/setup.py
parent66ca7449cb8b12cabec090c778e1c5ffa318efdb (diff)
Remove mock as an install requirement.
The motivation is to free us of a reliance on a rather modern version of setuptools, which caused le-auto failures for people on Wheezy and other older distros. (The alternative would have been to forcibly upgrade setuptools as the old le-auto did, but less is more.) Mock is used only in tests, so we move it to tests_require. It will still be installed automatically when setup.py test is run. Give all packages a test_suite so this works. The "testing" extra remains for optional packages not required for the nose tests but used in tox. However, the extra is much less useful now and is a candidate for deletion. We could roll the list of packages therein into the tox config so as not to favor any particular package. Remove tests_require=install_requires, which I don't think does anything useful, since install requirements are implicitly installed when running setup.py test. Fix tests to pass with mock removed. We had to stop them pulling down LE from PyPI, since the current version there (0.1.1) requires mock and explodes when `letsencrypt` is run.
Diffstat (limited to 'letsencrypt-nginx/setup.py')
-rw-r--r--letsencrypt-nginx/setup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/letsencrypt-nginx/setup.py b/letsencrypt-nginx/setup.py
index 1d42fe488..e4336f701 100644
--- a/letsencrypt-nginx/setup.py
+++ b/letsencrypt-nginx/setup.py
@@ -62,4 +62,5 @@ setup(
'nginx = letsencrypt_nginx.configurator:NginxConfigurator',
],
},
+ test_suite='letsencrypt_nginx',
)