fix publish
This commit is contained in:
Родитель
bc54053f94
Коммит
7a45ab11be
|
@ -14,7 +14,7 @@ It hides some of the complexities of the official Azure IoT SDK and uses IoT Cen
|
|||
> **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.
|
||||
The library is going to be archived soon so we suggest new developments to start using official Azure IoT SDK.**
|
||||
|
||||
> Please refer to [Azure IoT Python SDK](https://github.com/Azure/azure-iot-sdk-python) when building production products.**
|
||||
> **Please refer to [Azure IoT Python SDK](https://github.com/Azure/azure-iot-sdk-python) when building production products.**
|
||||
|
||||
_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).
|
||||
Latest version on pypi is 0.3.9_
|
||||
|
|
|
@ -14,12 +14,12 @@ fi
|
|||
|
||||
echo "Run tests..."
|
||||
|
||||
python3 -m pytest src/iotc/test
|
||||
python -m pytest src/iotc/test
|
||||
RESULT=$?
|
||||
if [[ $RESULT -eq 1 ]]; then
|
||||
echo "Python3 tests failed. Exiting ..."
|
||||
exit -1
|
||||
fi
|
||||
|
||||
python3 setup.py sdist bdist_wheel
|
||||
python3 -m twine upload $TEST dist/*
|
||||
python setup.py sdist bdist_wheel
|
||||
python -m twine upload $TEST dist/*
|
5
setup.py
5
setup.py
|
@ -25,7 +25,10 @@ setuptools.setup(
|
|||
'License :: OSI Approved :: MIT License',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.7+'
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9'
|
||||
],
|
||||
include_package_data=True,
|
||||
install_requires=["azure-iot-device"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче