Skip to content

Commit 2746404

Browse files
authored
Create azure-iot-nspkg (#17026)
1 parent e1b84af commit 2746404

File tree

8 files changed

+64
-0
lines changed

8 files changed

+64
-0
lines changed
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Release History
2+
3+
## 1.0.0 (2021-03-02)
4+
5+
* Initial Release
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include *.md
2+
include azure/__init__.py
3+
include azure/iot/__init__.py

sdk/iothub/azure-iot-nspkg/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Microsoft Azure IoT SDK for Python
2+
3+
This is the Microsoft Azure IoT namespace package.
4+
5+
This package is not intended to be installed directly by the end user.
6+
7+
It provides the necessary files for other packages to extend the
8+
azure.iot namespace.
9+
10+
The complete list of available packages can be found at:
11+
https://aka.ms/azsdk/python/all
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

sdk/iothub/azure-iot-nspkg/azure/iot/__init__.py

Whitespace-only changes.

sdk/iothub/azure-iot-nspkg/setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
universal=1

sdk/iothub/azure-iot-nspkg/setup.py

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
11+
setup(
12+
name='azure-iot-nspkg',
13+
version='1.0.0',
14+
description='Microsoft Azure IoT Namespace Package [Internal]',
15+
long_description=open('README.md', 'r').read(),
16+
license='MIT License',
17+
author='Microsoft Corporation',
18+
author_email='[email protected]',
19+
url='https://github.com/Azure/azure-sdk-for-python/',
20+
classifiers=[
21+
'Development Status :: 5 - Production/Stable',
22+
'Programming Language :: Python',
23+
'Programming Language :: Python :: 2',
24+
'Programming Language :: Python :: 2.7',
25+
'Programming Language :: Python :: 3',
26+
'Programming Language :: Python :: 3.5',
27+
'Programming Language :: Python :: 3.6',
28+
'Programming Language :: Python :: 3.7',
29+
'Programming Language :: Python :: 3.8',
30+
'Programming Language :: Python :: 3.9',
31+
'License :: OSI Approved :: MIT License',
32+
],
33+
zip_safe=False,
34+
packages=[
35+
'azure.iot',
36+
],
37+
install_requires=[
38+
'azure-nspkg>=2.0.0',
39+
]
40+
)

sdk/iothub/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ extends:
3636
safeName: azuremgmtiothubprovisioningservices
3737
- name: azure_mgmt_iotcentral
3838
safeName: azuremgmtiotcentral
39+
- name: azure_iot_nspkg
40+
safeName: azureiotnspkg

0 commit comments

Comments
 (0)