File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 13
13
import logging
14
14
import os
15
15
import sys
16
+ import platform
16
17
from os import path
17
18
18
19
with open (path .join (path .dirname (__file__ ), 'VERSION' )) as v :
21
22
with open ('requirements.txt' ) as reqs_file :
22
23
requirements = reqs_file .read ().splitlines ()
23
24
25
+ if platform .system () == 'Windows' :
26
+ with open ('win32-requirements.txt' ) as reqs_file :
27
+ requirements += reqs_file .read ().splitlines ()
28
+
24
29
25
30
class build_py (_build_py ):
26
31
@@ -65,6 +70,8 @@ def _stamp_version(filename):
65
70
print ("WARNING: Couldn't find version line in file %s" % filename , file = sys .stderr )
66
71
67
72
install_requires = ['gitdb >= 0.6.4' ]
73
+ if platform .system () == 'Windows' :
74
+ install_requires .append ("pypiwin32 >= 219" )
68
75
extras_require = {
69
76
':python_version == "2.6"' : ['ordereddict' ],
70
77
}
Original file line number Diff line number Diff line change
1
+ -r requirements.txt
2
+ pypiwin32 >= 219
You can’t perform that action at this time.
0 commit comments