]> git.phdru.name Git - cookiecutter.git/commitdiff
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 7afd2486190b3118272791c1e5fc7fcf4a5899bf..0af882c74e91951eaff46a1087ddc837e73c3cca 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 813f34a18b795bd7cb67bd1ed9740904fa11ef2c..c19b8ec0e2ed1588bb5595061eed1b5d22a84229 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 =