aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-07-05 19:33:02 +0200
committerGuido Günther <agx@sigxcpu.org>2017-07-05 19:39:39 +0200
commit4e6dd9c05681e888f1805eadd57cc70b639efd3f (patch)
tree1aaf92a2029803a4c6a7b3136488106119191280
parent3c0d116818fd64c34459821c18f1e161bf5333a4 (diff)
Use install_requirements
-rw-r--r--.travis.yml2
-rw-r--r--dev_requirements.txt7
-rw-r--r--requirements.txt5
-rwxr-xr-xsetup.py4
4 files changed, 12 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 60e7007..db7eafa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,7 @@ services:
python:
- "2.7"
-install: "pip install -r requirements.txt"
+install: "pip install -r dev_requirements.txt"
script:
- flake8
- tests/helpers/run-in-docker
diff --git a/dev_requirements.txt b/dev_requirements.txt
new file mode 100644
index 0000000..b63a3ce
--- /dev/null
+++ b/dev_requirements.txt
@@ -0,0 +1,7 @@
+-r requirements.txt
+
+coverage>=2.85
+flake8>=3
+mock
+nose>=0.11.1
+nosexcover>=1.0.7
diff --git a/requirements.txt b/requirements.txt
index bd47cda..3730135 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,7 +1,2 @@
-coverage>=2.85
-flake8>=3
-mock
-nose>=0.11.1
-nosexcover>=1.0.7
python-dateutil
six>=1.9.0
diff --git a/setup.py b/setup.py
index 5772bd1..c7580a7 100755
--- a/setup.py
+++ b/setup.py
@@ -74,6 +74,10 @@ setup(name="gbp",
packages=find_packages(exclude=['tests', 'tests.*']),
data_files=[("share/git-buildpackage/", ["gbp.conf"]), ],
requires=["six", 'dateutil'],
+ install_requires=[
+ 'python-dateutil',
+ 'six>=1.9.0',
+ ],
setup_requires=setup_requires(),
entry_points={
'console_scripts': ['gbp=gbp.scripts.supercommand:supercommand'],