Skip to content

Commit 0cc1f0b

Browse files
author
Stephen Shirley
committed
Clean-up dependencies.
Requirements were specified in both requirements.txt and setup.py: - setup.py should be used, as that's what pip looks at when installing this as a dependency of something else. Test requirements where specified in both test-requirements.txt and setup.py: - test-requirements.txt should be used, as tox cannot cleanly use setup.py for this: tox-dev/tox#13 Change-Id: I0240e16510c2f2cd2c8628aa26c8332f43590faa
1 parent 009b6df commit 0cc1f0b

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

setup.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,9 @@
1111
),
1212
install_requires=[
1313
'pymysql>=0.9.3',
14-
'tabulate',
14+
'tabulate>=0.8.2',
1515
'cumin'
1616
],
17-
tests_require=[
18-
'flake8',
19-
'nose',
20-
'coverage',
21-
],
2217
entry_points={
2318
'console_scripts': [
2419
# cli_admin

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ envlist = flake8, unit
1010
basepython = python3
1111
# All test environments share the same virtual env
1212
envdir = {toxworkdir}/venv
13-
deps = -rrequirements.txt
14-
-rtest-requirements.txt
13+
deps = -rtest-requirements.txt
1514

1615
[testenv:flake8]
1716
commands = flake8 {posargs}

0 commit comments

Comments
 (0)