未验证 提交 98c3aea0 编写于 作者: F Frost Ming

bump version to 0.6.5

上级 05aa79fa
Release v0.6.5 (2020-04-07)
---------------------------
### Bug Fixes
- Unix style executable script suffix is missing.
Release v0.6.4 (2020-04-07)
---------------------------
......
__version__ = "0.6.4"
__version__ = "0.6.5"
......@@ -362,7 +362,7 @@ class Environment:
maker.executable = new_path
shebang = maker._get_shebang("utf-8").rstrip()
for child in Path(scripts).iterdir():
if not child.is_file() or child.suffix not in (".exe", ".py"):
if not child.is_file() or child.suffix not in (".exe", ".py", ""):
continue
child.write_bytes(
re.sub(rb"#!.+?python.*?$", shebang, child.read_bytes(), flags=re.M)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册