Skip to content

Commit 5b84d0a

Browse files
committed
package: do clean up of dependencies
Dropped some unused dependencies and moved the development deps to a solo file (thus .travis.yml changes).
1 parent f57a7f7 commit 5b84d0a

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ python:
88
# command to install dependencies
99
install:
1010
- pip install .
11+
- pip install -r dev-requirements.txt
1112
- pip install -r requirements.txt
1213
- pip install bandit
1314

dev-requirements.txt

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
requests==2.20.0
2+
pytest>=2.7.0
3+
responses>=0.8.1
4+
setuptools>=38.2.4
5+
setuptools-scm>=1.15.6
6+
pylint
7+
pytest-cov
8+
codecov
9+
flake8
10+
sphinx

requirements.txt

-12
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
1-
enum34>=1.0.4
2-
funcsigs>=1.0.2
31
lxml>=3.7.3
4-
pytest>=2.7.0
5-
requests==2.20.0
6-
responses>=0.8.1
7-
setuptools>=38.2.4
8-
setuptools-scm>=1.15.6
9-
pylint
10-
pytest-cov
11-
codecov
12-
flake8
13-
sphinx

setup.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,21 @@ def _read(name):
3737
packages=find_packages(exclude=("tests")),
3838
zip_safe=False,
3939
install_requires=[
40-
"enum34>=1.0.4",
4140
"lxml>=3.7.3",
4241
],
4342
extras_require={
4443
},
4544
tests_require=[
45+
"codecov",
46+
"flake8",
4647
"setuptools>=38.2.4",
4748
"setuptools-scm>=1.15.6",
48-
"funcsigs>=1.0.2",
4949
"requests==2.20.0",
5050
"responses>=0.8.1",
51+
"pylint",
5152
"pytest>=2.7.0",
53+
"pytest-cov",
54+
"sphinx",
5255
],
5356
classifiers=[ # cf. http://pypi.python.org/pypi?%3Aaction=list_classifiers
5457
'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)