forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rakshith Bhyravabhotla
authored
Jun 4, 2021
1 parent
54bd73e
commit c919183
Showing
8 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Release History | ||
|
||
## 1.0.0 (2021-06-08) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include *.md | ||
include azure/__init__.py | ||
include azure/monitor/__init__.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Microsoft Azure SDK for Python | ||
|
||
This is the Microsoft Azure monitor Services namespace package. | ||
|
||
This package is not intended to be installed directly by the end user. | ||
|
||
Since version 3.0, this is Python 2 package only, Python 3.x SDKs will use `PEP420 <https://www.python.org/dev/peps/pep-0420/>` as namespace package strategy. | ||
To avoid issues with package servers that does not support `python_requires`, a Python 3 package is installed but is empty. | ||
|
||
It provides the necessary files for other packages to extend the azure.ai namespace. | ||
|
||
If you are looking to install the Azure client libraries, see the | ||
`azure <https://pypi.python.org/pypi/azure>`__ bundle package. | ||
|
||
|
||
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fsdk%2Ftextanalytics%2Fazure-ai-nspkg%2FREADME.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[packaging] | ||
auto_update = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#!/usr/bin/env python | ||
|
||
#------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
#-------------------------------------------------------------------------- | ||
import sys | ||
from setuptools import setup | ||
|
||
# azure v0.x is not compatible with this package | ||
# azure v0.x used to have a __version__ attribute (newer versions don't) | ||
try: | ||
import azure | ||
try: | ||
ver = azure.__version__ | ||
raise Exception( | ||
'This package is incompatible with azure=={}. '.format(ver) + | ||
'Uninstall it with "pip uninstall azure".' | ||
) | ||
except AttributeError: | ||
pass | ||
except ImportError: | ||
pass | ||
|
||
PACKAGES = [] | ||
# Do an empty package on Python 3 and not python_requires, since not everybody is ready | ||
# https://github.com/Azure/azure-sdk-for-python/issues/3447 | ||
# https://github.com/Azure/azure-sdk-for-python/issues/3481 | ||
if sys.version_info[0] < 3: | ||
PACKAGES = ['azure.monitor'] | ||
|
||
setup( | ||
name='azure-monitor-nspkg', | ||
version='1.0.0', | ||
description='Microsoft Azure monitor Namespace Package [Internal]', | ||
long_description=open('README.md', 'r').read(), | ||
license='MIT License', | ||
author='Microsoft Corporation', | ||
author_email='[email protected]', | ||
url='https://github.com/Azure/azure-sdk-for-python', | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'License :: OSI Approved :: MIT License', | ||
], | ||
zip_safe=False, | ||
packages=PACKAGES, | ||
install_requires=[ | ||
'azure-nspkg>=3.0.0', | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters