diff options
author | Alejandro Cabrera <alejandro.cabrera@rackspace.com> | 2014-01-15 16:46:32 -0500 |
---|---|---|
committer | Alejandro Cabrera <alejandro.cabrera@rackspace.com> | 2014-01-15 16:46:32 -0500 |
commit | e47acaf1837f03e1dbd2caff1b6e627d7ac4325e (patch) | |
tree | 57d6185fd0f44585078524857d770233de974f53 | |
parent | f18df4ea275a0c586ff6fc68cbc9fbdfe7c66874 (diff) | |
download | python-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.txt | 1 | ||||
-rw-r--r-- | test-requirements.txt | 3 | ||||
-rw-r--r-- | tox.ini | 6 |
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 @@ -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] |