提交 635b2ca3 编写于 作者: W wuzewu

Ignore hidden files when packaging

上级 7bdc468f
...@@ -105,6 +105,8 @@ def create_module(directory, name, author, email, module_type, summary, ...@@ -105,6 +105,8 @@ def create_module(directory, name, author, email, module_type, summary,
files = [] files = []
for dirname, _, subfiles in os.walk(module_dir): for dirname, _, subfiles in os.walk(module_dir):
for file in subfiles: for file in subfiles:
# if file.startswith("."):
# continue
files.append(os.path.join(dirname, file)) files.append(os.path.join(dirname, file))
total_length = len(files) total_length = len(files)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册