|
| 1 | +#!/usr/bin/env python |
| 2 | + |
| 3 | +#------------------------------------------------------------------------- |
| 4 | +# Copyright (c) Microsoft Corporation. All rights reserved. |
| 5 | +# Licensed under the MIT License. See License.txt in the project root for |
| 6 | +# license information. |
| 7 | +#-------------------------------------------------------------------------- |
| 8 | + |
| 9 | +from setuptools import setup |
| 10 | +import sys |
| 11 | + |
| 12 | + |
| 13 | +message = """ |
| 14 | +
|
| 15 | +Starting with v0.37.0, the 'azure-storage' meta-package is deprecated and cannot be installed anymore. |
| 16 | +Please install the service specific packages prefixed by `azure` needed for your application. |
| 17 | +
|
| 18 | +The complete list of available packages can be found at: |
| 19 | +https://aka.ms/azsdk/python/all |
| 20 | +
|
| 21 | +Here's a non-exhaustive list of common packages: |
| 22 | +
|
| 23 | +- [azure-storage-blob](https://pypi.org/project/azure-storage-blob) : Blob storage client |
| 24 | +- [azure-storage-file-share](https://pypi.org/project/azure-storage-file-share) : Storage file share client |
| 25 | +- [azure-storage-file-datalake](https://pypi.org/project/azure-storage-file-datalake) : ADLS Gen2 client |
| 26 | +- [azure-storage-queue](https://pypi.org/project/azure-storage-queue): Queue storage client |
| 27 | +""" |
| 28 | + |
| 29 | +if "sdist" in sys.argv: |
| 30 | + setup( |
| 31 | + name='azure-storage', |
| 32 | + version='0.37.0', |
| 33 | + description='Microsoft Azure Storage SDK for Python', |
| 34 | + long_description=open('README.md', 'r').read(), |
| 35 | + long_description_content_type='text/markdown', |
| 36 | + license='MIT License', |
| 37 | + author='Microsoft Corporation', |
| 38 | + |
| 39 | + url='https://github.com/Azure/azure-sdk-for-python', |
| 40 | + classifiers=[ |
| 41 | + 'Development Status :: 7 - Inactive', |
| 42 | + 'Programming Language :: Python', |
| 43 | + 'Programming Language :: Python :: 2', |
| 44 | + 'Programming Language :: Python :: 2.7', |
| 45 | + 'Programming Language :: Python :: 3', |
| 46 | + 'Programming Language :: Python :: 3.5', |
| 47 | + 'Programming Language :: Python :: 3.6', |
| 48 | + 'Programming Language :: Python :: 3.7', |
| 49 | + 'Programming Language :: Python :: 3.8', |
| 50 | + 'License :: OSI Approved :: MIT License', |
| 51 | + ], |
| 52 | + zip_safe=False, |
| 53 | + ) |
| 54 | +else: |
| 55 | + raise RuntimeError(message) |
0 commit comments