Skip to content

Commit 7a45ab1

Browse files
author
lucadruda
committed
fix publish
1 parent bc54053 commit 7a45ab1

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It hides some of the complexities of the official Azure IoT SDK and uses IoT Cen
1414
> **This library is experimental and has the purpose of providing an easy to use solution for prototyping and small projects. Its use in production is discouraged.
1515
The library is going to be archived soon so we suggest new developments to start using official Azure IoT SDK.**
1616

17-
> Please refer to [Azure IoT Python SDK](https://github.com/Azure/azure-iot-sdk-python) when building production products.**
17+
> **Please refer to [Azure IoT Python SDK](https://github.com/Azure/azure-iot-sdk-python) when building production products.**
1818
1919
_If you're looking for the v0.x.x client library, it is now preserved [here](https://github.com/obastemur/iot_client/tree/master/python).
2020
Latest version on pypi is 0.3.9_

publish.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ fi
1414

1515
echo "Run tests..."
1616

17-
python3 -m pytest src/iotc/test
17+
python -m pytest src/iotc/test
1818
RESULT=$?
1919
if [[ $RESULT -eq 1 ]]; then
2020
echo "Python3 tests failed. Exiting ..."
2121
exit -1
2222
fi
2323

24-
python3 setup.py sdist bdist_wheel
25-
python3 -m twine upload $TEST dist/*
24+
python setup.py sdist bdist_wheel
25+
python -m twine upload $TEST dist/*

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
'License :: OSI Approved :: MIT License',
2626
'Programming Language :: Python',
2727
'Programming Language :: Python :: 3',
28-
'Programming Language :: Python :: 3.7+'
28+
'Programming Language :: Python :: 3.6',
29+
'Programming Language :: Python :: 3.7',
30+
'Programming Language :: Python :: 3.8',
31+
'Programming Language :: Python :: 3.9'
2932
],
3033
include_package_data=True,
3134
install_requires=["azure-iot-device"]

0 commit comments

Comments
 (0)