File tree 1 file changed +15
-3
lines changed
sdk/eventgrid/azure-eventgrid
1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 22
22
23
23
# azure v0.x is not compatible with this package
24
24
# azure v0.x used to have a __version__ attribute (newer versions don't)
25
+ try :
26
+ import azure
27
+ try :
28
+ ver = azure .__version__
29
+ raise Exception (
30
+ 'This package is incompatible with azure=={}. ' .format (ver ) +
31
+ 'Uninstall it with "pip uninstall azure".'
32
+ )
33
+ except AttributeError :
34
+ pass
35
+ except ImportError :
36
+ pass
25
37
26
38
# Version extraction inspired from 'requests'
27
39
with open (os .path .join (package_folder_path , 'version.py' )
49
61
50
62
url = 'https://github.com/Azure/azure-sdk-for-python' ,
51
63
classifiers = [
52
- 'Development Status :: 4 - Beta ' ,
64
+ 'Development Status :: 5 - Production/Stable ' ,
53
65
'Programming Language :: Python' ,
54
66
'Programming Language :: Python :: 2' ,
55
67
'Programming Language :: Python :: 2.7' ,
65
77
'tests' ,
66
78
'samples' ,
67
79
# Exclude packages that will be covered by PEP420 or nspkg
68
- 'samples' ,
69
80
'azure' ,
70
81
]),
71
82
install_requires = [
72
83
'msrest>=0.5.0' ,
73
- 'azure-core<2.0.0,>=1.7.0' ,
84
+ 'msrestazure>=0.4.32,<2.0.0' ,
85
+ 'azure-common~=1.1' ,
74
86
],
75
87
extras_require = {
76
88
":python_version<'3.0'" : ['azure-nspkg' ],
You can’t perform that action at this time.
0 commit comments