summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Cabrera <alejandro.cabrera@rackspace.com>2014-01-15 16:46:32 -0500
committerAlejandro Cabrera <alejandro.cabrera@rackspace.com>2014-01-15 16:46:32 -0500
commite47acaf1837f03e1dbd2caff1b6e627d7ac4325e (patch)
tree57d6185fd0f44585078524857d770233de974f53
parentf18df4ea275a0c586ff6fc68cbc9fbdfe7c66874 (diff)
downloadpython-memcached-e47acaf1837f03e1dbd2caff1b6e627d7ac4325e.tar.gz
refactor(reqs): separate deps in req files
To facilitate managing dependencies, they are now listed in requirements files. This also simplifies the tox.ini file. A dependency on six was added to aid with porting to python 3.
-rw-r--r--requirements.txt1
-rw-r--r--test-requirements.txt3
-rw-r--r--tox.ini6
3 files changed, 6 insertions, 4 deletions
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..ffe2fce
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+six
diff --git a/test-requirements.txt b/test-requirements.txt
new file mode 100644
index 0000000..8f21390
--- /dev/null
+++ b/test-requirements.txt
@@ -0,0 +1,3 @@
+nose
+coverage
+hacking
diff --git a/tox.ini b/tox.ini
index a1dcac2..553b75c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,19 +7,17 @@ skipsdist = True
usedevelop = True
# Customize pip command, add -U to force updates.
install_command = pip install -U {opts} {packages}
-deps = nose
+deps = -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
commands = nosetests {posargs}
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pep8]
-deps = hacking
commands = flake8
[testenv:cover]
-deps = nose
- coverage
commands = nosetests --with-coverage {posargs}
[flake8]