我尝试使用这个新工具来分发Python项目,称为Pynsist(http://pynsist.readthedocs.org/en/latest/index.html)。
它工作得很好,但由于某种原因,在安装后没有找到任何包,解决问题的方法是如果你从" pkg"文件夹到主文件夹,这真是太奇特了。我的installer.cfg:
[Application]
name=Seek scrapper
version=1.0
# How to launch the app - this calls the 'main' function from the 'myapp' package:
entry_point=Scrape_pages_to_txt:main
[Python]
version=3.3.5
bitness=32
[Include]
# Importable packages that your application requires, one per line
packages = requests
bs4
selenium
xlsxwriter
# Other files and folders that should be installed
files = ad_urls.txt
xlsx_writer.py
Scrape_ads_from_urls.py
我在这里做错了什么?