File tree 2 files changed +6
-9
lines changed
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ChangeLog
4
4
`1.5.1 (unreleased) <https://github.com/scaleway/python-scaleway/compare/v1.5.0...develop >`_
5
5
--------------------------------------------------------------------------------------------
6
6
7
- * No changes yet .
7
+ * Use markers for Python 2-only dependencies .
8
8
9
9
10
10
`1.5.0 (2016-12-19) <https://github.com/scaleway/python-scaleway/compare/v1.4.1...v1.5.0 >`_
Original file line number Diff line number Diff line change 28
28
29
29
DEPENDENCIES = [
30
30
'slumber >= 0.6.2' ,
31
- 'six' ]
32
-
33
- # Packages required to handle SNI, only for Python2.
34
- if sys .version_info .major == 2 :
35
- DEPENDENCIES += [
36
- 'pyOpenSSL' ,
37
- 'ndg-httpsclient' ,
38
- 'pyasn1' ]
31
+ 'six' ,
32
+ # Packages required to handle SNI, only for Python2.
33
+ "pyOpenSSL; python_version < '3.0'" ,
34
+ "ndg-httpsclient; python_version < '3.0'" ,
35
+ "pyasn; python_version < '3.0'" ]
39
36
40
37
EXTRA_DEPENDENCIES = {
41
38
# Extra dependencies are made available through the
You can’t perform that action at this time.
0 commit comments