Move hard requirements from tox.ini to requirements.txt
authorOleg Broytman <phd@phdru.name>
Sun, 7 May 2017 11:50:49 +0000 (14:50 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 7 May 2017 14:54:19 +0000 (17:54 +0300)
project_template/devscripts/requirements/requirements.txt
project_template/tox.ini

index 7afd248..0af882c 100644 (file)
@@ -2,3 +2,7 @@
 --find-links=http://phdru.name/Software/Python/
 --install-option=-O2
 
+argparse; python_version == '2.6'
+m_lib.defenc >= 1.0
+m_lib >= 2.0; python_version >= '2.6' and python_version < '3.0'
+m_lib >= 3.0; python_version >= '3.3'
index 813f34a..c19b8ec 100644 (file)
@@ -16,11 +16,7 @@ commands =
     {envpython} --version
     {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
 deps =
-    pytest
-    pytest-cov
-    py26: argparse
-    py2{6,7},pypy: m_lib>=2.0
-    py3{3,4,5,6}: m_lib>=3.0
+    -rdevscripts/requirements/requirements_tests.txt
 sitepackages = True
 # Don't fail or warn on uninstalled commands
 whitelist_externals =