|
5 | 5 | # Licensed under the MIT License. See License.txt in the project root for
|
6 | 6 | # license information.
|
7 | 7 | #--------------------------------------------------------------------------
|
8 |
| - |
| 8 | +import sys |
9 | 9 | from setuptools import setup
|
10 | 10 |
|
11 | 11 | # azure v0.x is not compatible with this package
|
|
23 | 23 | except ImportError:
|
24 | 24 | pass
|
25 | 25 |
|
| 26 | +PACKAGES = [] |
| 27 | +# Do an empty package on Python 3 and not python_requires, since not everybody is ready |
| 28 | +# https://github.com/Azure/azure-sdk-for-python/issues/3447 |
| 29 | +# https://github.com/Azure/azure-sdk-for-python/issues/3481 |
| 30 | +if sys.version_info[0] < 3: |
| 31 | + PACKAGES = ['azure.mgmt.datalake'] |
| 32 | + |
26 | 33 | setup(
|
27 | 34 | name='azure-mgmt-datalake-nspkg',
|
28 |
| - version='3.0.0', |
| 35 | + version='3.0.1', |
29 | 36 | description='Microsoft Azure Data Lake Management Namespace Package [Internal]',
|
30 | 37 | long_description=open('README.rst', 'r').read(),
|
31 | 38 | license='MIT License',
|
|
37 | 44 | 'Programming Language :: Python',
|
38 | 45 | 'Programming Language :: Python :: 2',
|
39 | 46 | 'Programming Language :: Python :: 2.7',
|
| 47 | + 'Programming Language :: Python :: 3.4', |
| 48 | + 'Programming Language :: Python :: 3.5', |
| 49 | + 'Programming Language :: Python :: 3.6', |
| 50 | + 'Programming Language :: Python :: 3.7', |
40 | 51 | 'License :: OSI Approved :: MIT License',
|
41 | 52 | ],
|
42 |
| - python_requires='<3', |
43 | 53 | zip_safe=False,
|
44 |
| - packages=[ |
45 |
| - 'azure.mgmt.datalake', |
46 |
| - ], |
| 54 | + packages=PACKAGES, |
47 | 55 | install_requires=[
|
48 | 56 | 'azure-mgmt-nspkg>=3.0.0',
|
49 | 57 | ],
|
|
0 commit comments