Packaging a proprietary Python library for multiple OSs

Kevin Walzer kw at codebykevin.com
Thu Dec 5 10:26:40 EST 2013


On 12/5/13, 5:14 AM, Michael Herrmann wrote:
> Even though I am not generating an EXE, I am using py2exe to obtain the distributable Zip file for my library. This "hack" is very convenient, as py2exe allows me to simply say which packages I require and does the work of performing a dependency analysis of the required libraries for me. py2exe automatically generates the Zip file with my (compiled) library code, and all dependencies.

If your library and their dependencies are simply .pyc files, then I 
don't see why a zip collated via py2exe wouldn't work on other 
platforms. Obviously this point is moot if your library includes true 
compiled (C-based) extensions.

--Kevin

-- 
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com



More information about the Python-list mailing list