56 lines
1.6 KiB
Python
56 lines
1.6 KiB
Python
# coding: utf-8
|
|
from os import path
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
NAME = "huaweicloudsdkiotdm"
|
|
VERSION = "3.1.123"
|
|
AUTHOR = "HuaweiCloud SDK"
|
|
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
|
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
|
|
|
DESCRIPTION = "IoTDM"
|
|
this_directory = path.abspath(path.dirname(__file__))
|
|
with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f:
|
|
LONG_DESCRIPTION = f.read()
|
|
|
|
REQUIRES = ["huaweicloudsdkcore>=3.1.123"]
|
|
|
|
OPTIONS = {
|
|
'bdist_wheel': {
|
|
'universal': True
|
|
}
|
|
}
|
|
|
|
setup(
|
|
name=NAME,
|
|
version=VERSION,
|
|
options=OPTIONS,
|
|
description=DESCRIPTION,
|
|
long_description=LONG_DESCRIPTION,
|
|
long_description_content_type='text/markdown',
|
|
author=AUTHOR,
|
|
author_email=AUTHOR_EMAIL,
|
|
license="Apache LICENSE 2.0",
|
|
url=URL,
|
|
keywords=["huaweicloud", "sdk", "IoTDM"],
|
|
packages=find_packages(exclude=["tests*"]),
|
|
install_requires=REQUIRES,
|
|
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*",
|
|
include_package_data=True,
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: Apache Software License',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3.3',
|
|
'Programming Language :: Python :: 3.4',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Programming Language :: Python :: 3.6',
|
|
'Programming Language :: Python :: 3.7',
|
|
'Programming Language :: Python :: 3.8',
|
|
'Programming Language :: Python :: 3.9',
|
|
'Topic :: Software Development'
|
|
]
|
|
)
|