[Twisted-Python] Twisted on a USB stick?

Cory Dodt corydodt at twistedmatrix.com
Sun Mar 26 05:18:40 EST 2006


Not only is this possible, it's fairly easy to do with py2exe, and I've
done it on a couple of different apps.  I'm working on an app right now
with almost exactly these requirements.  (Originally, it was even going
to be stored on a usb stick, but now it just has to be lightly
downloadable, and it is.)

It uses Axiom, which means it pulls in substantial portions of Divmod's
software, Twisted, zope.interface, and god knows what else.  Like your
app, it uses GTK, which means it pulls in pygtk and the whole GTK runtime.

All this comes to 18M, including my app.  The compressed installer
version is 8MB.

Most of the solution is here:
<http://starship.python.net/crew/theller/moin.cgi/Py2exeAndPyGTK>.  You
don't have to do anything special for Twisted and zope.interface, nor
for Divmod stuff if that interests you; py2exe these days seems to
handle all that seamlessly.


C


Steve Slevinski wrote:
> What every size would be needed.  If I could install python, GTK,
> Twisted all on a USB stick, it would be easy to give my end users a
> working install without requiring and configuration on their part.
> 
> Christopher Armstrong wrote:
>> If you can write the program, you can probably store it on a USB
>> stick. (what size are we talking? 16MB? 32MB? 64MB? 512MB? 1GB? 2GB?)
>>
>> On 3/25/06, *Steve Slevinski * <slevin at signpuddle.net
>> <mailto:slevin at signpuddle.net>> wrote:
>>
>>     Would it be possible to install a Twisted application using GTK on
>>     a USB
>>     stick for Windows platforms?
>>
>>
>>  
>>
>> -- 
>> Christopher Armstrong
>> International Man of Twistery
>> http://radix.twistedmatrix.com/
>> http://twistedmatrix.com/
>> http://canonical.com/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Twisted-Python mailing list
>> Twisted-Python at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>>  
>> ------------------------------------------------------------------------
>>
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.385 / Virus Database: 268.3.1/292 - Release Date: 3/24/2006
>>   
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python





More information about the Twisted-Python mailing list