From 69748c50e614f8d84faa4f2bb976a463eb640603 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Tue, 2 Mar 2021 10:59:42 -0800 Subject: [PATCH] Create azure-iot-nspkg --- sdk/iothub/azure-iot-nspkg/CHANGELOG.md | 5 +++ sdk/iothub/azure-iot-nspkg/MANIFEST.in | 3 ++ sdk/iothub/azure-iot-nspkg/README.md | 11 +++++ sdk/iothub/azure-iot-nspkg/azure/__init__.py | 1 + .../azure-iot-nspkg/azure/iot/__init__.py | 0 sdk/iothub/azure-iot-nspkg/setup.cfg | 2 + sdk/iothub/azure-iot-nspkg/setup.py | 40 +++++++++++++++++++ sdk/iothub/ci.yml | 2 + 8 files changed, 64 insertions(+) create mode 100644 sdk/iothub/azure-iot-nspkg/CHANGELOG.md create mode 100644 sdk/iothub/azure-iot-nspkg/MANIFEST.in create mode 100644 sdk/iothub/azure-iot-nspkg/README.md create mode 100644 sdk/iothub/azure-iot-nspkg/azure/__init__.py create mode 100644 sdk/iothub/azure-iot-nspkg/azure/iot/__init__.py create mode 100644 sdk/iothub/azure-iot-nspkg/setup.cfg create mode 100644 sdk/iothub/azure-iot-nspkg/setup.py diff --git a/sdk/iothub/azure-iot-nspkg/CHANGELOG.md b/sdk/iothub/azure-iot-nspkg/CHANGELOG.md new file mode 100644 index 000000000000..368ecf02c4e6 --- /dev/null +++ b/sdk/iothub/azure-iot-nspkg/CHANGELOG.md @@ -0,0 +1,5 @@ +# Release History + +## 1.0.0 (2021-03-02) + +* Initial Release diff --git a/sdk/iothub/azure-iot-nspkg/MANIFEST.in b/sdk/iothub/azure-iot-nspkg/MANIFEST.in new file mode 100644 index 000000000000..ce9a7f02ea44 --- /dev/null +++ b/sdk/iothub/azure-iot-nspkg/MANIFEST.in @@ -0,0 +1,3 @@ +include *.md +include azure/__init__.py +include azure/iot/__init__.py diff --git a/sdk/iothub/azure-iot-nspkg/README.md b/sdk/iothub/azure-iot-nspkg/README.md new file mode 100644 index 000000000000..40469bfaf4ae --- /dev/null +++ b/sdk/iothub/azure-iot-nspkg/README.md @@ -0,0 +1,11 @@ +# Microsoft Azure IoT SDK for Python + +This is the Microsoft Azure IoT 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.iot namespace. + +The complete list of available packages can be found at: +https://aka.ms/azsdk/python/all diff --git a/sdk/iothub/azure-iot-nspkg/azure/__init__.py b/sdk/iothub/azure-iot-nspkg/azure/__init__.py new file mode 100644 index 000000000000..69e3be50dac4 --- /dev/null +++ b/sdk/iothub/azure-iot-nspkg/azure/__init__.py @@ -0,0 +1 @@ +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/sdk/iothub/azure-iot-nspkg/azure/iot/__init__.py b/sdk/iothub/azure-iot-nspkg/azure/iot/__init__.py new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/sdk/iothub/azure-iot-nspkg/setup.cfg b/sdk/iothub/azure-iot-nspkg/setup.cfg new file mode 100644 index 000000000000..3c6e79cf31da --- /dev/null +++ b/sdk/iothub/azure-iot-nspkg/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/sdk/iothub/azure-iot-nspkg/setup.py b/sdk/iothub/azure-iot-nspkg/setup.py new file mode 100644 index 000000000000..36ceeebe967a --- /dev/null +++ b/sdk/iothub/azure-iot-nspkg/setup.py @@ -0,0 +1,40 @@ +#!/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 + +setup( + name='azure-iot-nspkg', + version='1.0.0', + description='Microsoft Azure IoT Namespace Package [Internal]', + long_description=open('README.md', 'r').read(), + license='MIT License', + author='Microsoft Corporation', + author_email='azurepysdk@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.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'License :: OSI Approved :: MIT License', + ], + zip_safe=False, + packages=[ + 'azure.iot', + ], + install_requires=[ + 'azure-nspkg>=2.0.0', + ] +) diff --git a/sdk/iothub/ci.yml b/sdk/iothub/ci.yml index 73fd61008666..6c4ae82c06ca 100644 --- a/sdk/iothub/ci.yml +++ b/sdk/iothub/ci.yml @@ -36,3 +36,5 @@ extends: safeName: azuremgmtiothubprovisioningservices - name: azure_mgmt_iotcentral safeName: azuremgmtiotcentral + - name: azure_iot_nspkg + safeName: azureiotnspkg