A web scraper build to search specific information for a given compound (and its pseudonyms)
1import sys
2from cx_Freeze import setup, Executable
3
4# After running the setup file (python setup.py build) the scrapy/VERSION file has to be manually put into the
5# library.zip, also the FourmiCrawler map has to be copied to both the library and the exe.win32-2.7 folder. after
6# putting the files in the library the library has to be zipped and replace the old library.
7# Dependencies are automatically detected, but it might need fine tuning.
8build_exe_options = {"packages": ["os", "scrapy", "lxml", "w3lib", "pkg_resources", "zope.interface", "twisted.internet"], "excludes": []}
9
10# GUI applications require a different base on Windows (the default is for a
11# console application).
12base = None
13
14setup( name = "Scrapy",
15 version = "0.1",
16 description = "My GUI application!",
17 options = {"build_exe": build_exe_options},
18 executables = [Executable("fourmi.py", base=base)])