Skip to content

Commit

Permalink
Create azure-iot-nspkg (#17026)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel authored Mar 2, 2021
1 parent e1b84af commit 2746404
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/iothub/azure-iot-nspkg/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Release History

## 1.0.0 (2021-03-02)

* Initial Release
3 changes: 3 additions & 0 deletions sdk/iothub/azure-iot-nspkg/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include *.md
include azure/__init__.py
include azure/iot/__init__.py
11 changes: 11 additions & 0 deletions sdk/iothub/azure-iot-nspkg/README.md
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions sdk/iothub/azure-iot-nspkg/azure/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Empty file.
2 changes: 2 additions & 0 deletions sdk/iothub/azure-iot-nspkg/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
40 changes: 40 additions & 0 deletions sdk/iothub/azure-iot-nspkg/setup.py
Original file line number Diff line number Diff line change
@@ -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='[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',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: MIT License',
],
zip_safe=False,
packages=[
'azure.iot',
],
install_requires=[
'azure-nspkg>=2.0.0',
]
)
2 changes: 2 additions & 0 deletions sdk/iothub/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ extends:
safeName: azuremgmtiothubprovisioningservices
- name: azure_mgmt_iotcentral
safeName: azuremgmtiotcentral
- name: azure_iot_nspkg
safeName: azureiotnspkg

0 comments on commit 2746404

Please sign in to comment.