78 lines
2.3 KiB
Python
78 lines
2.3 KiB
Python
# 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
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
NAME = "huaweicloudsdkcore"
|
|
VERSION = "3.0.29-beta"
|
|
AUTHOR = "HuaweiCloud SDK"
|
|
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
|
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()
|
|
|
|
INSTALL_REQUIRES = [
|
|
"urllib3",
|
|
"six",
|
|
"python-dateutil",
|
|
"requests",
|
|
"requests_futures",
|
|
"requests-toolbelt"
|
|
]
|
|
|
|
TESTS_REQUIRES = [
|
|
'pytest',
|
|
'pytest-cov',
|
|
'pytest-mock',
|
|
'requests-mock'
|
|
]
|
|
|
|
setup(
|
|
name=NAME,
|
|
version=VERSION,
|
|
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", "core"],
|
|
packages=find_packages(),
|
|
platforms=['any'],
|
|
install_requires=INSTALL_REQUIRES,
|
|
tests_require=TESTS_REQUIRES,
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: Apache Software License',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.4',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Programming Language :: Python :: 3.6',
|
|
'Programming Language :: Python :: 3.7',
|
|
'Topic :: Software Development'
|
|
]
|
|
)
|