[Python-modules-commits] [keyrings.alt] 13/14: Update test requirements to improve test availability.
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Wed Mar 2 07:21:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to tag 1.0
in repository keyrings.alt.
commit 9382fc2b973f5012e5aee9809acf4c39d9550366
Author: Jason R. Coombs <jaraco at jaraco.com>
Date: Thu Jan 14 10:38:01 2016 -0500
Update test requirements to improve test availability.
---
setup.py | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index fb8bf34..d9f6099 100644
--- a/setup.py
+++ b/setup.py
@@ -17,6 +17,23 @@ sphinx = ['sphinx'] if needs_sphinx else []
needs_wheel = {'release', 'bdist_wheel'}.intersection(sys.argv)
wheel = ['wheel'] if needs_wheel else []
+test_requirements = [
+ 'gdata',
+ 'python-keyczar',
+ 'fs>=0.5',
+ 'pycrypto',
+]
+"dependencies for running tests"
+
+if sys.version_info >= (3, 0):
+ # gdata doesn't currently install on Python 3. Omit it also.
+ # http://code.google.com/p/gdata-python-client/issues/detail?id=229
+ test_requirements.remove('gdata')
+
+ # keyczar doesn't currently install on Python 3. Omit it also.
+ # http://code.google.com/p/keyczar/issues/detail?id=125
+ test_requirements.remove('python-keyczar')
+
setup_params = dict(
name='keyrings.alt',
use_scm_version=True,
@@ -36,8 +53,8 @@ setup_params = dict(
'setuptools_scm>=1.9',
] + pytest_runner + sphinx + wheel,
tests_require=[
- 'pytest>=2.8',
- ],
+ 'keyring[test]',
+ ] + test_requirements,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/keyrings.alt.git
More information about the Python-modules-commits
mailing list