huaweicloud-sdk-python-v3/huaweicloud-sdk-core/setup.py

88 lines
2.6 KiB
Python
Raw Normal View History

2020-05-18 07:34:40 +00:00
# coding= utf-8
"""
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache LICENSE, Version 2.0 (the
"LICENSE"); you may not use this file except in compliance
with the LICENSE. You may obtain a copy of the LICENSE at
http=//www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the LICENSE is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the LICENSE for the
specific language governing permissions and limitations
under the LICENSE.
"""
from os import path
2020-05-18 07:34:40 +00:00
from setuptools import setup, find_packages
NAME = "huaweicloudsdkcore"
2021-06-25 11:57:33 +00:00
VERSION = "3.0.49"
2020-05-18 07:34:40 +00:00
AUTHOR = "HuaweiCloud SDK"
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
2020-05-18 07:34:40 +00:00
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
DESCRIPTION = "HuaweiCloud SDK Python Core"
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()
2020-05-18 07:34:40 +00:00
INSTALL_REQUIRES = [
"urllib3",
2021-06-21 14:35:39 +00:00
"six>=1.16.0",
"requests",
"requests_futures",
"futures"
]
TESTS_REQUIRES = [
'pytest',
'pytest-cov',
'pytest-mock',
'requests-mock'
2020-05-18 07:34:40 +00:00
]
OPTIONS = {
'bdist_wheel': {
'universal': True
}
}
2020-05-18 07:34:40 +00:00
setup(
name=NAME,
version=VERSION,
options=OPTIONS,
2020-05-18 07:34:40 +00:00
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
2020-05-18 07:34:40 +00:00
author=AUTHOR,
author_email=AUTHOR_EMAIL,
2020-05-18 07:34:40 +00:00
license="Apache LICENSE 2.0",
url=URL,
keywords=["huaweicloud", "sdk", "core"],
packages=find_packages(),
2020-05-18 07:34:40 +00:00
platforms=['any'],
install_requires=INSTALL_REQUIRES,
tests_require=TESTS_REQUIRES,
2021-06-25 11:57:33 +00:00
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*",
classifiers=[
2020-05-18 07:34:40 +00:00
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
2021-06-25 11:57:33 +00:00
'Programming Language :: Python :: 3.3',
2020-05-18 07:34:40 +00:00
'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'
]
2020-05-18 07:34:40 +00:00
)