ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> py2exe-users
py2exe-users
Re: [Py2exe-users] p2exe and xml.sax modules
by Stephen Dicks other posts by this author
Jun 22 2005 5:01AM messages near this date
Re: [Py2exe-users] p2exe and xml.sax modules | Re: [Py2exe-users] p2exe and xml.sax modules
Thomas Heller wrote:

> Stpehen Dicks <stephen.dicks@[...].com> writes:
> 
>   
> 
> >I've been trying to do what I thought would be a simple task, but all
> >the docs and google have failed me so far :-)
> >
> >I have a program which uses the sax parser classes from xml.sax,
> >however every time I run py2exe I get errors about xml.sax.saxlib
> >being not found. The dist directory includes pyexpat.pyd so something
> >knows that I'm using the expat parser material, but the executable
> >just doesn't work. libary.zip doesn't appear to contain xml/sax/saxlib
> >although it does contain xml/sax/saxutils; I'm confused.
> >    
> >
> 
> Ok.
> 

> the py2exe docs talk about extension modules not being dragged in by default. I'm not sure 
whether pyexpat counts as an extension module.
>   
> 
>  You should try the '-p' command line switch to specify complete packages
> 
> to include:
> 
>   setup.py py2exe -p xml.sax
> or
>   setup.py py2exe -p xml
>   
> 
I've tried this (and many other variations on the same theme via 
parameters to the setup() call) and it still has no effect.

--
Steve Dicks
Rawflow Ltd


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Py2exe-users mailing list
Py2exe-users@[...].net
https://lists.sourceforge.net/lists/listinfo/py2exe-users
Thread:
Thomas Heller
Stephen Dicks
Michael Foord
Michael Foord
Stephen Dicks

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved