diff --git a/HISTORY.md b/HISTORY.md index 63fe5da..1588d0e 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,6 @@ ### Version History: +- 1.7.2: Fix release.sh - 1.7.1: Fix upgrading in Python2 (unicode file name support seems to be broken) - 1.7.0: Follow Baidu's encrypted MD5 algorithm - 1.6.11: Revert the previous change - Baidu PCS's behavior is wrong and makes no sense diff --git a/HISTORY.rst b/HISTORY.rst index 39d94f0..66ed7cc 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,8 @@ Version History: ~~~~~~~~~~~~~~~~ +- 1.7.2: Fix release.sh + - 1.7.1: Fix upgrading in Python2 (unicode file name support seems to be broken) diff --git a/bypy/const.py b/bypy/const.py index 7545295..90e7587 100755 --- a/bypy/const.py +++ b/bypy/const.py @@ -12,7 +12,7 @@ # https://packaging.python.org/single_source_version/ __title__ = 'bypy' -__version__ = '1.7.1' +__version__ = '1.7.2' __author__ = 'Hou Tianze' __license__ = 'MIT' __desc__ = 'Python client for Baidu Yun (Personal Cloud Storage) 百度云/百度网盘 Python 客户端' diff --git a/bypy/test/configdir/bypy.json.expired b/bypy/test/configdir/bypy.json.expired deleted file mode 100644 index 0849ca6..0000000 --- a/bypy/test/configdir/bypy.json.expired +++ /dev/null @@ -1 +0,0 @@ -{"access_token": "21.3701d87b6c26865b924dc15c90939ecb.2592000.1452505749.2844184044-1572671", "expires_in": 2592000, "session_secret": "f2ebc488f6104727bb774a45dbb2d5f5", "scope": "basic netdisk", "session_key": "9mnRdycF0rsDWbdxZ9ni9Nib8YtJu/W/D+LNBf+50Ru0MtM+v1sOay8fXJkxa7lskb3Vi6KGeRraf6ag7WJezAQYWJkvWGW8Kg==", "refresh_token": "22.fc1ee009f75a3b71880ad96df1114ff8.315360000.1765273749.2844184044-1572671"} \ No newline at end of file diff --git a/release.sh b/release.sh index ba42c8c..2c156f2 100755 --- a/release.sh +++ b/release.sh @@ -20,15 +20,15 @@ check() { command -v "$1" || { echo "'$1' doesn't exist, aborting."; exit -1; } } +pycmd=python3 + check git -check python +check $pycmd check pandoc check pyflakes check twine check jq -pycmd=python - actual=0 build=0 install=0 @@ -114,7 +114,7 @@ main() { if [ "$build" -eq 1 ] then - rm -Rf dist/* + eval $pycmd setup.py clean --all eval $pycmd setup.py bdist_wheel #sdist fi diff --git a/setup.cfg b/setup.cfg index 7469488..0bb64c5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -description-file = README.rst +long_description = file: README.rst [bdist_wheel] universal = 1 diff --git a/update/update.json b/update/update.json index 735eba0..f0415af 100644 --- a/update/update.json +++ b/update/update.json @@ -1,5 +1,5 @@ { "comment": "Update info", - "recommendedVersion": "1.7.1", + "recommendedVersion": "1.7.2", "minimumRequiredVersion": "1.6.0" }