File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python
2
2
3
3
#-------------------------------------------------------------------------
4
4
# Copyright (c) Microsoft. All rights reserved.
14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
#--------------------------------------------------------------------------
17
-
17
+ import sys
18
18
from distutils .core import setup
19
19
20
20
# To build:
29
29
# To upload:
30
30
# python setup.py sdist upload
31
31
32
+ reqs = ['python-dateutil' ]
33
+ if sys .version_info < (3 ,0 ):
34
+ reqs .append ('futures' )
35
+
32
36
setup (name = 'azure' ,
33
37
version = '0.11.0' ,
34
38
description = 'Microsoft Azure client APIs' ,
51
55
'azure.servicebus' ,
52
56
'azure.storage' ,
53
57
'azure.servicemanagement' ],
54
- install_requires = ['python-dateutil' ,
55
- 'futures' ],
58
+ install_requires = reqs ,
56
59
extras_require = {
57
60
'get_certificate_from_publish_settings' : ['pyopenssl' ]
58
61
}
You can’t perform that action at this time.
0 commit comments