set up
This commit is contained in:
Коммит
02d32997ec
|
@ -21,7 +21,7 @@ The Azure IoT Device library is available on PyPI:
|
|||
pip install azure-iot-device
|
||||
```
|
||||
|
||||
Python 3.6 or higher is required in order to use the library
|
||||
Python 3.7 or higher is required in order to use the library
|
||||
|
||||
## Using the library
|
||||
API documentation for this package is available via [**Microsoft Docs**](https://docs.microsoft.com/python/api/azure-iot-device/azure.iot.device?view=azure-python).
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
script_dir=$(cd "$(dirname "$0")" && pwd)
|
||||
|
||||
export RUNTIMES_TO_INSTALL="3.6.6 3.7.1 3.8.10 3.9.9 3.10.2"
|
||||
export RUNTIMES_TO_INSTALL="3.7.1 3.8.10 3.9.9 3.10.2"
|
||||
|
||||
echo "This script will do the following:"
|
||||
echo "1. Use apt to install pre-requisites for pyenv"
|
||||
|
|
5
setup.py
5
setup.py
|
@ -65,7 +65,6 @@ setup(
|
|||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
|
@ -87,9 +86,9 @@ setup(
|
|||
"PySocks",
|
||||
"typing_extensions",
|
||||
],
|
||||
python_requires=">=3.6, <4",
|
||||
package_data={"azure.iot.device": ["py.typed"]},
|
||||
python_requires=">=3.7, <4",
|
||||
packages=find_namespace_packages(where="azure-iot-device"),
|
||||
package_data={"azure.iot.device": ["py.typed"]},
|
||||
package_dir={"": "azure-iot-device"},
|
||||
zip_safe=False,
|
||||
)
|
||||
|
|
|
@ -29,8 +29,6 @@ jobs:
|
|||
vmImage: 'Ubuntu 20.04'
|
||||
strategy:
|
||||
matrix:
|
||||
Python36:
|
||||
python.version: '3.6'
|
||||
Python37:
|
||||
python.version: '3.7'
|
||||
Python38:
|
||||
|
|
|
@ -16,11 +16,6 @@ jobs:
|
|||
transport: 'mqttws'
|
||||
imageName: 'windows-latest'
|
||||
consumerGroup: 'cg2'
|
||||
py36_linux_mqtt:
|
||||
pv: '3.6'
|
||||
transport: 'mqtt'
|
||||
imageName: 'Ubuntu 20.04'
|
||||
consumerGroup: 'cg3'
|
||||
py37_linux_mqttws:
|
||||
pv: '3.7'
|
||||
transport: 'mqttws'
|
||||
|
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
py310_mqtt: { pv: '3.10', transport: 'mqtt', consumer_group: 'e2e-consumer-group-3' }
|
||||
py36_mqtt_ws: { pv: '3.6', transport: 'mqttws', consumer_group: 'e2e-consumer-group-4' }
|
||||
py37_mqtt_ws: { pv: '3.7', transport: 'mqttws', consumer_group: 'e2e-consumer-group-4' }
|
||||
|
||||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
|
|
|
@ -17,11 +17,6 @@ jobs:
|
|||
imageName: 'windows-latest'
|
||||
consumerGroup: 'cg2'
|
||||
|
||||
py36_linux_mqtt:
|
||||
pv: '3.6'
|
||||
transport: 'mqtt'
|
||||
imageName: 'Ubuntu 20.04'
|
||||
consumerGroup: 'cg3'
|
||||
py37_linux_mqttws:
|
||||
pv: '3.7'
|
||||
transport: 'mqttws'
|
||||
|
|
Загрузка…
Ссылка в новой задаче