|
20 | 20 | # a-b-c => a.b.c
|
21 | 21 | namespace_name = PACKAGE_NAME.replace('-', '.')
|
22 | 22 |
|
23 |
| -# azure v0.x is not compatible with this package |
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 |
37 |
| - |
38 | 23 | # Version extraction inspired from 'requests'
|
39 | 24 | with open(os.path.join(package_folder_path, 'version.py')
|
40 | 25 | if os.path.exists(os.path.join(package_folder_path, 'version.py'))
|
|
63 | 48 | classifiers=[
|
64 | 49 | '{{classifier}}',
|
65 | 50 | 'Programming Language :: Python',
|
66 |
| - 'Programming Language :: Python :: 2', |
67 |
| - 'Programming Language :: Python :: 2.7', |
| 51 | + "Programming Language :: Python :: 3 :: Only", |
68 | 52 | 'Programming Language :: Python :: 3',
|
69 |
| - 'Programming Language :: Python :: 3.6', |
70 | 53 | 'Programming Language :: Python :: 3.7',
|
71 | 54 | 'Programming Language :: Python :: 3.8',
|
72 | 55 | 'Programming Language :: Python :: 3.9',
|
|
91 | 74 | 'azure-core>=1.6.0,<2.0.0',
|
92 | 75 | {%- endif %}
|
93 | 76 | {%- if need_azuremgmtcore %}
|
94 |
| - 'azure-mgmt-core>=1.2.0,<2.0.0', |
| 77 | + 'azure-mgmt-core>=1.3.0,<2.0.0', |
95 | 78 | {%- endif %}
|
96 | 79 | ],
|
97 |
| - extras_require={ |
98 |
| - ":python_version<'3.0'": ['{{package_nspkg}}'], |
99 |
| - } |
| 80 | + python_requires=">=3.7" |
100 | 81 | )
|
0 commit comments