代码拉取完成,页面将自动刷新
# -*- coding: utf-8 -*-
import setuptools
import sys
import os
from aliyun_iot_device import __version__
with open("README.md", "r") as fh:
long_description = fh.read()
requires = [
'paho-mqtt>=1.3.1',
'requests>=2.18.4',
'cachetools>=2.1.0'
]
if sys.argv[-1] == 'publish':
os.system('python3 setup.py sdist bdist_wheel')
os.system('twine upload dist/*')
os.system("rm -rf ./dist ./build ./yansongda_aliyun_iot_device.egg-info")
sys.exit()
if sys.argv[-1] == 'publish-test':
os.system('python3 setup.py sdist bdist_wheel')
os.system('twine upload --repository-url https://test.pypi.org/legacy/ dist/*')
os.system("rm -rf ./dist ./build ./yansongda_aliyun_iot_device.egg-info")
sys.exit()
setuptools.setup(
name="yansongda-aliyun-iot-device",
version=__version__,
author="yansongda",
author_email="me@yansongda.cn",
description="aliyun iot device sdk",
long_description=long_description,
long_description_content_type="text/markdown",
package_data={
'': ['LICENSE', 'NOTICE'],
'aliyun_iot_device': ['*.cer']
},
url="https://github.com/yansongda/aliyun-iot-device-python",
project_urls={
'Source': 'https://github.com/yansongda/aliyun-iot-device-python',
'Tracker': 'https://github.com/yansongda/aliyun-iot-device-python/issues',
},
packages=setuptools.find_packages(),
python_requires=">=3.0, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
install_requires=requires,
keywords='yansongda aliyun iot device',
classifiers=(
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
),
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。