Skip to content

Commit d7fd429

Browse files
committed
CORE SDK Auto Released By haowei.yao,Version:2.11.4
发布日志: 1, Fix README.dst missing problem because of Python2.7 with setup.py has bug 2, Fix a server error handling bug 3, Fix a typo: deconde -> decode
1 parent 027b413 commit d7fd429

File tree

3 files changed

+40
-29
lines changed

3 files changed

+40
-29
lines changed

aliyun-python-sdk-core/ChangeLog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2018-12-23 Version: 2.11.4
2+
1, Fix README.dst missing problem because of Python2.7 with setup.py has bug
3+
2, Fix a server error handling bug
4+
3, Fix a typo: deconde -> decode
5+
16
2018-12-22 Version: 2.11.3
27
1, fix server error handling problem
38
2, fix a typo: deconde -> decode
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.11.3"
1+
__version__ = "2.11.4"

aliyun-python-sdk-core/setup.py

Lines changed: 34 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -24,51 +24,51 @@
2424
import logging
2525

2626
"""
27-
setup module for core.
27+
Setup module for core.
2828
2929
Created on 6/24/2015
3030
3131
@author: Alibaba Cloud
3232
"""
3333

3434
PACKAGE = "aliyunsdkcore"
35-
NAME = "aliyun-python-sdk-core"
3635
DESCRIPTION = "The core module of Aliyun Python SDK."
37-
AUTHOR = "Aliyun"
38-
AUTHOR_EMAIL = "aliyun-developers-efficiency@list.alibaba-inc.com"
39-
URL = "http://develop.aliyun.com/sdk/python"
36+
AUTHOR = "Alibaba Cloud"
37+
AUTHOR_EMAIL = "alibaba-cloud-sdk-dev-team@list.alibaba-inc.com"
38+
URL = "https://github.com/aliyun/aliyun-openapi-python-sdk"
39+
4040

4141
TOPDIR = os.path.dirname(__file__) or "."
4242
VERSION = __import__(PACKAGE).__version__
4343

44-
desc_file = open("README.rst")
45-
try:
46-
LONG_DESCRIPTION = desc_file.read()
47-
finally:
48-
desc_file.close()
44+
45+
with open("README.rst") as fp:
46+
LONG_DESCRIPTION = fp.read()
47+
4948

5049
requires = []
5150
if platform.system() != "Windows":
5251
requires.append("pycryptodome>=3.4.7")
5352
else:
5453
logging.warning(
55-
"auth type [publicKeyId] is disabled because 'pycrypto' not support windows, we will resolve this soon")
56-
57-
setup(
58-
name=NAME,
59-
version=VERSION,
60-
description=DESCRIPTION,
61-
long_description=LONG_DESCRIPTION,
62-
author=AUTHOR,
63-
author_email=AUTHOR_EMAIL,
64-
license="Apache",
65-
url=URL,
66-
keywords=["aliyun", "sdk", "core"],
67-
packages=find_packages(exclude=["tests*"]),
68-
package_data={'aliyunsdkcore' : ['endpoint/*.json']},
69-
platforms='any',
70-
install_requires=requires,
71-
classifiers=(
54+
"auth type [publicKeyId] is disabled because "
55+
"'pycrypto' not support windows, we will resolve this soon")
56+
57+
58+
setup_args = {
59+
'version': VERSION,
60+
'description': DESCRIPTION,
61+
'long_description': LONG_DESCRIPTION,
62+
'author': AUTHOR,
63+
'author_email': AUTHOR_EMAIL,
64+
'license': "Apache License 2.0",
65+
'url': URL,
66+
'keywords': ["aliyun", "sdk", "core"],
67+
'packages': find_packages(exclude=["tests*"]),
68+
'package_data': {'aliyunsdkcore': ['endpoint/*.json']},
69+
'platforms': 'any',
70+
'install_requires': requires,
71+
'classifiers': (
7272
'Development Status :: 5 - Production/Stable',
7373
'Intended Audience :: Developers',
7474
'License :: OSI Approved :: Apache Software License',
@@ -83,4 +83,10 @@
8383
'Programming Language :: Python :: 3.7',
8484
'Topic :: Software Development',
8585
)
86-
)
86+
}
87+
88+
89+
setup(name='aliyun-python-sdk-core', **setup_args)
90+
91+
setup(name='aliyun-python-sdk-core-v3', **setup_args)
92+

0 commit comments

Comments
 (0)