bypy
Advanced tools
+6
-5
@@ -21,7 +21,7 @@ #!/usr/bin/env python | ||
| result = CheckResult.Pass | ||
| if iswindows(): | ||
| if False and iswindows(): | ||
| bannerwarn("You are running Python on Windows, which doesn't support Unicode so well.\n" | ||
| "Files with non-ASCII names may not be handled correctly.") | ||
| result = max(result, CheckResult.Warning) | ||
| if sys.version_info[0] < 2 \ | ||
@@ -36,3 +36,4 @@ or (sys.version_info[0] == 2 and sys.version_info[1] < 7) \ | ||
| sysencu = gvar.SystemEncoding.upper() | ||
| if sysencu != 'UTF-8' and sysencu != 'UTF8': | ||
| if sysencu != 'UTF-8' and sysencu != 'UTF8' and sysencu != 'UTF_8' \ | ||
| and sysencu != 'CP65001' and sysencu != '65001': | ||
| msg = "WARNING: System locale is not 'UTF-8'.\n" \ | ||
@@ -51,3 +52,3 @@ "Files with non-ASCII names may not be handled correctly.\n" \ | ||
| result = max(result, CheckResult.Warning) | ||
| stdenc = sys.stdout.encoding | ||
@@ -64,3 +65,3 @@ if stdenc: | ||
| fixenc(stdenc) | ||
| return result | ||
@@ -67,0 +68,0 @@ |
+1
-1
@@ -15,3 +15,3 @@ #!/usr/bin/env python | ||
| __title__ = 'bypy' | ||
| __version__ = '1.8.6' | ||
| __version__ = '1.8.7' | ||
| __author__ = 'Hou Tianze' | ||
@@ -18,0 +18,0 @@ __license__ = 'MIT' |
+2
-2
@@ -16,3 +16,3 @@ #!/usr/bin/env python | ||
| try: | ||
| SystemLanguageCode, SystemEncoding = locale.getdefaultlocale() | ||
| SystemLanguageCode, SystemEncoding = locale.getlocale() | ||
| except ValueError as e: | ||
@@ -25,3 +25,3 @@ # https://coderwall.com/p/-k_93g/mac-os-x-valueerror-unknown-locale-utf-8-in-python | ||
| if e.args and e.args[0] and e.args[0] == "unknown locale: UTF-8": | ||
| SystemLanguageCode, SystemEncoding = '', 'UTF-8' | ||
| SystemLanguageCode, SystemEncoding = '', 'utf-8' | ||
| else: | ||
@@ -28,0 +28,0 @@ raise |
+2
-2
@@ -41,5 +41,5 @@ #!/usr/bin/env python | ||
| def bannerwarn(msg): | ||
| pwarn('!' * 160, showtime = False) | ||
| pwarn('!' * 80, showtime = False) | ||
| pwarn(msg, showtime = False) | ||
| pwarn('!' * 160, showtime = False) | ||
| pwarn('!' * 80, showtime = False) | ||
@@ -46,0 +46,0 @@ def pinfo(msg, showtime = True, showdate = False, prefix = '', suffix = ''): |
+2
-0
| Version History: | ||
| ~~~~~~~~~~~~~~~~ | ||
| - 1.8.7: Loosen system encoding check on Windows | ||
| - 1.8.6: Fix progress file path for concurrent runs by @Bluetea577 | ||
@@ -5,0 +7,0 @@ |
+4
-2
| Metadata-Version: 2.1 | ||
| Name: bypy | ||
| Version: 1.8.6 | ||
| Version: 1.8.7 | ||
| Summary: Python client for Baidu Yun (Personal Cloud Storage) 百度云/百度网盘 Python 客户端 | ||
@@ -9,3 +9,3 @@ Home-page: https://github.com/houtianze/bypy | ||
| License: MIT | ||
| Download-URL: https://github.com/houtianze/bypy/tarball/1.8.6 | ||
| Download-URL: https://github.com/houtianze/bypy/tarball/1.8.7 | ||
| Keywords: bypy,bypy.py,baidu pcs,baidu yun,baidu pan,baidu netdisk,baidu cloud storage,baidu personal cloud storage,百度云,百度云盘,百度网盘,百度个人云存储 | ||
@@ -40,2 +40,4 @@ Platform: UNKNOWN | ||
| - 1.8.7: Loosen system encoding check on Windows | ||
| - 1.8.6: Fix progress file path for concurrent runs by @Bluetea577 | ||
@@ -42,0 +44,0 @@ |
+11
-11
@@ -1,2 +0,2 @@ | ||
| HISTORY.rst,sha256=a_3Jt6Lby4tHIJVW353c_2bkjMAfUyvzotHT_WigTzU,5439 | ||
| HISTORY.rst,sha256=7bwkl8jtLuQzyrX9VdredNuRCOUrYu_26XF0dVTcutA,5490 | ||
| bypy/__init__.py,sha256=WdT39dZGg1ashhRz_9HBH3Mag5nAeXBRR9Sj09J2VBg,412 | ||
@@ -7,9 +7,9 @@ bypy/__main__.py,sha256=GZxQx8IV7Cq_WKninapyjIjC_RpowGyAhhTbCd_T3Rc,385 | ||
| bypy/cached.py,sha256=PlozH6ZNovcphZH1MAB8RZnMmQuajrwockA1YrIW34Y,9701 | ||
| bypy/chkreq.py,sha256=FXAcBnBhEExDz1gKT6hLCfCP2ijzrQPFRJWvpWJPHXg,2258 | ||
| bypy/const.py,sha256=4r8PFuuYiaz7p3U-1asITWdBhOTqCVBaO1xiaI98gng,8818 | ||
| bypy/chkreq.py,sha256=nHlC80_YZ6ugD5RraT4uzc84nMI26JGV5Xu_OTZ8ZZY,2341 | ||
| bypy/const.py,sha256=vzLNjYulZ472f9yX-25BTj8ZzXqhNrw0R7RPP7iSz4c,8818 | ||
| bypy/gui.py,sha256=Fde3JSIQFNug3id2oE5KYrIuTg0y5WqtfCIOASf-s8w,11831 | ||
| bypy/gvar.py,sha256=gCFifCufpcvGQ1D27k4FFp1XoSI9YzB6CtdZAP7IX5w,1251 | ||
| bypy/gvar.py,sha256=lYGvDXrUjTGCdB8CaFanH6omTPgi4cV2xJqTwJzXLcc,1244 | ||
| bypy/monkey.py,sha256=3wORJvJ-faPt-2vuz4JErpDQJF8hNoAc3ZY1Ap7Q1eg,1264 | ||
| bypy/panapi.py,sha256=WgyGqVa26ulDnDyUvdYD5DvC9x49h2URMZe82jEblCo,7069 | ||
| bypy/printer.py,sha256=XDNryjtRiXp6Y1i0uTPQDgvPMW3GvTU1MnMu5lPdisE,1562 | ||
| bypy/printer.py,sha256=88sL2QDRN7eWu6zFvMeM31ciDSgPSAUxcZR4Kl0oIMY,1560 | ||
| bypy/printer_console.py,sha256=jUP7qwLSKyW0r1PL9ZcIM_dxY04pngLHlKobyDacPYM,2479 | ||
@@ -28,7 +28,7 @@ bypy/printer_gui.py,sha256=2n2o-gcWtlOdSzCCh2NNQQZeGTX0j2WyNH4Eaqt8st4,2368 | ||
| bypy/test/test.py,sha256=FXiFPVcnC36NQbEy3YMJQfsT9-ByqPybL9cSMjQf7d8,9579 | ||
| bypy-1.8.6.dist-info/LICENSE,sha256=4W6TujLx4zP-75l-3F_Ymzu_Camh2mVdCGrlL7TLyGE,1111 | ||
| bypy-1.8.6.dist-info/METADATA,sha256=kksA4rQsQO-2K2mtG1jIu-JPkA186fo6M9QKvGuPZ-M,6754 | ||
| bypy-1.8.6.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110 | ||
| bypy-1.8.6.dist-info/entry_points.txt,sha256=mf3xP-j6ojITEIBm8sOHYPP0qhlFtehB3injnceJToo,80 | ||
| bypy-1.8.6.dist-info/top_level.txt,sha256=S7bN2zsph8wdQH2DQ1hL9a6Q0vA2FtNnygJ8S3je1ZE,5 | ||
| bypy-1.8.6.dist-info/RECORD,, | ||
| bypy-1.8.7.dist-info/LICENSE,sha256=4W6TujLx4zP-75l-3F_Ymzu_Camh2mVdCGrlL7TLyGE,1111 | ||
| bypy-1.8.7.dist-info/METADATA,sha256=SH7e-u8PBU5FiMfgSPR4a7Jkmir1_-RDcrvj_ZvE8c8,6805 | ||
| bypy-1.8.7.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110 | ||
| bypy-1.8.7.dist-info/entry_points.txt,sha256=mf3xP-j6ojITEIBm8sOHYPP0qhlFtehB3injnceJToo,80 | ||
| bypy-1.8.7.dist-info/top_level.txt,sha256=S7bN2zsph8wdQH2DQ1hL9a6Q0vA2FtNnygJ8S3je1ZE,5 | ||
| bypy-1.8.7.dist-info/RECORD,, |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.