File tree 2 files changed +9
-8
lines changed 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change
1
+ [bdist_wheel]
2
+ universal = 1
Original file line number Diff line number Diff line change @@ -219,6 +219,13 @@ def initialize_options(self):
219
219
'urwid' : ['urwid' ],
220
220
'watch' : ['watchdog' ],
221
221
'jedi' : ['jedi' ],
222
+ # need PyOpenSSL for SNI support (only 2.X and on Darwin)
223
+ # list of packages taken from
224
+ # https://github.com/kennethreitz/requests/blob/master/requests/packages/urllib3/contrib/pyopenssl.py
225
+ ':sys_platform == "darwin" and ' \
226
+ '(python_version == "2.6" or python_version == "2.7")' : [
227
+ 'PyOpenSSL' , 'ndg-httpsclient' , 'pyasn1'
228
+ ]
222
229
}
223
230
224
231
packages = [
@@ -239,14 +246,6 @@ def initialize_options(self):
239
246
]
240
247
}
241
248
242
- if sys .version_info [0 ] == 2 and sys .platform == "darwin" :
243
- # need PyOpenSSL for SNI support (only 2.X and on Darwin)
244
- # list of packages taken from
245
- # https://github.com/kennethreitz/requests/blob/master/requests/packages/urllib3/contrib/pyopenssl.py
246
- install_requires .append ('PyOpenSSL' )
247
- install_requires .append ('ndg-httpsclient' )
248
- install_requires .append ('pyasn1' )
249
-
250
249
tests_require = []
251
250
if sys .version_info [0 ] == 2 and sys .version_info [1 ] < 7 :
252
251
tests_require .append ('unittest2' )
You can’t perform that action at this time.
0 commit comments