[Twisted-Python] want to freeze twisted

Iap iap_yeh at abit.com.tw
Mon Nov 29 20:38:14 MST 2004


I have a twistd-based web server by running a web.tap file like this:
 
$twistd -o -f web.tap -l /var/log/twistd.log
 
Great, it works. Then, I use cx_freeze to freeze  it.
 
$FreezePython --install-dir freeze_twistd twistd
 
That is ok, lots of *.so have been copied into freeze_twistd/*.
After moving those all into another machine, and run the executable
 
$freeze_twistd/twistd
 
I got complains on missing some modules.
I realized that those twisted/* don't be freezed.
 
Then, I try:
$FreezePython --include-modules=cgi,calendar,twisted
--install-dir=freeze_twistd twistd
 
That is ok too. But twisted still not been included.
Any suggestion?
 
Thanks in advance.
 
Iap.
BTW: I searched google with keywords "twisted freeze", "twistd freeze". Not
so many hits.
 
 
 
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20041130/f3caaa65/attachment.html>


More information about the Twisted-Python mailing list