2021-08-10 12:26:18 +00:00
|
|
|
# coding: utf-8
|
|
|
|
from os import path
|
|
|
|
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
NAME = "huaweicloudsdkcodecraft"
|
2022-04-14 11:06:46 +00:00
|
|
|
VERSION = "3.0.84"
|
2021-08-10 12:26:18 +00:00
|
|
|
AUTHOR = "HuaweiCloud SDK"
|
|
|
|
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
|
|
|
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
|
|
|
|
|
|
|
DESCRIPTION = "CodeCraft"
|
|
|
|
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"]
|
|
|
|
|
|
|
|
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", "CodeCraft"],
|
|
|
|
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'
|
|
|
|
]
|
|
|
|
)
|