views:

30

answers:

1

I have a scrapy project that I would like to package all together for a customer using windows without having to manually install dependencies for them. I came across cxfreeze, but I'm not quite sure how it would work with a scrapy project.

I'm thinking I would make some sort of interface and run the scrapy crawler with 'from scrapy.cmdline import execute', but I'm not sure.

Thanks in advance for any help.

A: 

Try out py2exe. It works well, you can bundle all the code in one exe.

I suggest you to exclude unused packages to reduce exe size (see py2exe examples on its site)

UDATE As suggested try also

GUI2Exe is a Graphical User Interface frontend to all the "executable builders" available for the Python programming language. It can be used to build standalone Windows executables, Linux applications and Mac OS application bundles and plugins starting from Python scripts.

daitangio
+1 py2exe, also gui2exe is excellent frontend for py2exe
iondiode
Thanks, I have added GUI2Exe Refs
daitangio