[tox] Put development dependencies into a dev-requirements.txt file
The latter being sourced in tox.ini.
For now this contains references to hg repositories for some dependencies but
under normal circumstances it should only contain pytest.
This is useful when developping cubicweb itself without using tox but working
with a virtualenv so that one can simply do:
::
$ virtualenv --system-site-packages venv
$ . venv/bin/activate
$ pip install -r dev-requirements.txt
$ python setup.py develop
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-requirements.txt Thu Jun 02 09:41:24 2016 +0200
@@ -0,0 +1,3 @@
+pytest
+hg+https://hg.logilab.org/master/yams@20b43fb67201#egg=yams
+hg+https://hg.logilab.org/master/logilab/common@7ebacaa38380#egg=logilab-common
--- a/tox.ini Thu Jun 02 10:27:34 2016 +0200
+++ b/tox.ini Thu Jun 02 09:41:24 2016 +0200
@@ -9,8 +9,7 @@
whitelist_externals =
/usr/bin/touch
deps =
- hg+https://hg.logilab.org/master/yams@20b43fb67201#egg=yams
- hg+https://hg.logilab.org/master/logilab/common@7ebacaa38380#egg=logilab-common
+ -rdev-requirements.txt
py34: -e.
cubicweb: -r{toxinidir}/cubicweb/test/requirements.txt
devtools: -r{toxinidir}/cubicweb/devtools/test/requirements.txt
@@ -22,7 +21,6 @@
sobjects: -r{toxinidir}/cubicweb/sobjects/test/requirements.txt
web: -r{toxinidir}/cubicweb/web/test/requirements.txt
wsgi: -r{toxinidir}/cubicweb/wsgi/test/requirements.txt
- pytest
commands =
py34-cubicweb: touch {envdir}/share/cubicweb/cubes/__init__.py
py34-server: touch {envdir}/share/cubicweb/cubes/__init__.py