如何从 cx_Freeze 分发中排除 gitignore 文件
How to exclude gitignore files from cx_Freeze distribution
我在我的项目中包含了一些数据目录,其中 include_files
选项为 build_exe
。但是,这些目录包含 .gitignore 文件,我不想将其包含在发行版中。
有没有什么方法可以使用模式来排除任何否则会被包含的文件?我查看了 cx_Freeze 文档,但 none 的选项似乎可以解决问题。
我在我的项目中包含了一些数据目录,其中 include_files
选项为 build_exe
。但是,这些目录包含 .gitignore 文件,我不想将其包含在发行版中。
有没有什么方法可以使用模式来排除任何否则会被包含的文件?我查看了 cx_Freeze 文档,但 none 的选项似乎可以解决问题。