Skip to content

Commit 46186d1

Browse files
committedJan 10, 2017
Specify doit versions in setup.py instead of requirements.txt
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 17d00a1 commit 46186d1

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed
 

‎requirements-rtd.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-r requirements.txt
2+
doit

‎requirements.txt

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
doit>=0.28.0,<=0.29.0 ; python_version <= '3.3' # rq.filter: <=0.29.0
2-
doit>=0.28.0 ; python_version >= '3.4'
31
Pygments>=1.6
42
Pillow>=2.4.0
53
python-dateutil>=2.4.0

‎setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ def run_tests(self):
2626
with open('requirements.txt', 'r') as fh:
2727
dependencies = [l.strip() for l in fh]
2828

29-
extras = {}
29+
extras = {
30+
':python_version >= "3.4"': ['doit>=0.28.0'],
31+
':python_version <= "3.3"': ['doit>=0.28.0,<=0.29.0'],
32+
}
3033

3134
with open('requirements-extras.txt', 'r') as fh:
3235
extras['extras'] = [l.strip() for l in fh][1:]

0 commit comments

Comments
 (0)
Please sign in to comment.