pynsist不包含文件

时间:2019-03-27 14:55:46

标签: python tkinter nsis pynsist

我尝试使用pynsis构建窗口可执行文件,并且能够创建可执行文件,但是问题是它不包括程序文件夹和文件。以下是installer.cfg文件

[Application]
name=ABCD
version=1.0.3
# How to launch the app - this calls the 'main' function from the 'myapp' package:
# https://github.com/takluyver/pynsist
entry_point=main:main
# icon=logo.png
console=true

[Python]
version=3.6.3
# bitness=32

[Include]
# Packages from PyPI that your application requires, one per line
packages=
    pip
    tkinter
    _tkinter


# To bundle packages which don't publish wheels, or to include directly wheel files
# from a directory, see the docs on the config file.

# Other files and folders that should be installed
files=lib
    xyz/ > $INSTDIR

这成功创建了应用程序,但问题是xyz文件夹未包含在可执行文件中。我在配置代码中缺少什么?

0 个答案:

没有答案