Skip to content

Commit

Permalink
Add CS nspkg
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel committed Nov 16, 2017
1 parent 401a51d commit afdf73f
Show file tree
Hide file tree
Showing 15 changed files with 210 additions and 0 deletions.
1 change: 1 addition & 0 deletions azure-cognitiveservices-language-nspkg/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include *.rst
11 changes: 11 additions & 0 deletions azure-cognitiveservices-language-nspkg/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Microsoft Azure SDK for Python
==============================

This is the Microsoft Azure Cognitive Services Language namespace package.

This package is not intended to be installed directly by the end user.

It provides the necessary files for other packages to extend the azure.cognitiveservices.language namespace.

If you are looking to install the Azure client libraries, see the
`azure <https://pypi.python.org/pypi/azure>`__ bundle package.
Empty file.
2 changes: 2 additions & 0 deletions azure-cognitiveservices-language-nspkg/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
56 changes: 56 additions & 0 deletions azure-cognitiveservices-language-nspkg/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#!/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.
#--------------------------------------------------------------------------

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

setup(
name='azure-cognitiveservices-language-nspkg',
version='2.0.0',
description='Microsoft Azure Cognitive Services Language Namespace Package [Internal]',
long_description=open('README.rst', 'r').read(),
license='MIT License',
author='Microsoft Corporation',
author_email='azpysdkhelp@microsoft.com',
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.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: MIT License',
],
zip_safe=False,
packages=[
'azure',
'azure.cognitiveservices',
'azure.cognitiveservices.language',
],
install_requires=[
'azure-cognitiveservices-nspkg>=2.0.0',
]
)
1 change: 1 addition & 0 deletions azure-cognitiveservices-search-nspkg/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include *.rst
11 changes: 11 additions & 0 deletions azure-cognitiveservices-search-nspkg/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Microsoft Azure SDK for Python
==============================

This is the Microsoft Azure Cognitive Services Search namespace package.

This package is not intended to be installed directly by the end user.

It provides the necessary files for other packages to extend the azure.cognitiveservices.search namespace.

If you are looking to install the Azure client libraries, see the
`azure <https://pypi.python.org/pypi/azure>`__ bundle package.
Empty file.
2 changes: 2 additions & 0 deletions azure-cognitiveservices-search-nspkg/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
56 changes: 56 additions & 0 deletions azure-cognitiveservices-search-nspkg/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#!/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.
#--------------------------------------------------------------------------

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

setup(
name='azure-cognitiveservices-search-nspkg',
version='2.0.0',
description='Microsoft Azure Cognitive Services Search Namespace Package [Internal]',
long_description=open('README.rst', 'r').read(),
license='MIT License',
author='Microsoft Corporation',
author_email='azpysdkhelp@microsoft.com',
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.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: MIT License',
],
zip_safe=False,
packages=[
'azure',
'azure.cognitiveservices',
'azure.cognitiveservices.search',
],
install_requires=[
'azure-cognitiveservices-nspkg>=2.0.0',
]
)
1 change: 1 addition & 0 deletions azure-cognitiveservices-vision-nspkg/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include *.rst
11 changes: 11 additions & 0 deletions azure-cognitiveservices-vision-nspkg/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Microsoft Azure SDK for Python
==============================

This is the Microsoft Azure Cognitive Services Vision namespace package.

This package is not intended to be installed directly by the end user.

It provides the necessary files for other packages to extend the azure.cognitiveservices.vision namespace.

If you are looking to install the Azure client libraries, see the
`azure <https://pypi.python.org/pypi/azure>`__ bundle package.
Empty file.
2 changes: 2 additions & 0 deletions azure-cognitiveservices-vision-nspkg/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
56 changes: 56 additions & 0 deletions azure-cognitiveservices-vision-nspkg/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#!/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.
#--------------------------------------------------------------------------

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

setup(
name='azure-cognitiveservices-vision-nspkg',
version='2.0.0',
description='Microsoft Azure Cognitive Services Vision Namespace Package [Internal]',
long_description=open('README.rst', 'r').read(),
license='MIT License',
author='Microsoft Corporation',
author_email='azpysdkhelp@microsoft.com',
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.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: MIT License',
],
zip_safe=False,
packages=[
'azure',
'azure.cognitiveservices',
'azure.cognitiveservices.vision',
],
install_requires=[
'azure-cognitiveservices-nspkg>=2.0.0',
]
)

0 comments on commit afdf73f

Please sign in to comment.