This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
2.0.3
- Fix a crucial error where class attribute values were tampered with in the logic block for importing real code, which caused the last release to fail.
- Fix a potential error where attempting to access the "ge" magic attribute would raise an exception if the magic attribute did not exist, but also existed in the
builtins
module. - Refactor (improve) the method of obtaining version information in
setup
by directly extracting it frompackage.__doc__
, rather than opening a file. - Adjust the classification information of the open-source library on PyPi.
1.修复一个严重的错误,在导入真实代码的逻辑块中篡改类属性值的错误,这导致上次未成功发布版本。
2.修复一个可能发生的错误,在尝试获取 ge
的魔法属性时,如果该魔化属性不存在,同时该魔化属性又存在于 builtins
模块,将引发异常。
3.重构(改进) setup
中获得版本信息的方案,直接从 package.__doc__
中提取,而不再打开文件。
4.调整在PyPi上的开源库分类信息。