嗨,我正在尝试通过 pynsist 制作 nsis 安装程序,但我不知道如何添加 snap7 库,它会生成文件,但是当我尝试运行由 pynsist 生成的脚本时,不要打开文件。
这是我的cfg文件。
[Application]
name=JIG Sensor Overview
version=0.1
# How to launch the app - this calls the 'main' function from the 'myapp' package:
entry_point=JIGOverview:main
icon=JIGOverview.ico
[Python]
version=3.9.9
bitness=64
[Include]
pypi_wheels = python-snap7==1.1
Pillow==9.0.0
# Packages from PyPI that your application requires, one per line
packages = requests
snap7
PIL
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
SRC/