Re: [lxml-dev] _elementpath.pyc and py2exe problem
![](https://secure.gravatar.com/avatar/34ec82c23177cff11aca6a3c34d757ef.jpg?s=120&d=mm&r=g)
Hi Werner, I tried that. No go. I added an includes "_elementpath" but it didn't work. I have an includes "lxml" as well but it doesn't fix it either. I haven't used lxml for some time and don't have it installed on this machine. IIRC lxml is a package, so if _elementpath is under it using
Hi Greg, Greg Willden wrote: the packages option of py2exe should do the trick - I use it for other packages (e.g. matplotlib). Werner
![](https://secure.gravatar.com/avatar/95a1a1b53dc3d687808ecfb70ad8e891.jpg?s=120&d=mm&r=g)
Hi Werner, On 8/31/07, Werner F. Bruhin <werner.bruhin@free.fr> wrote:
I haven't used lxml for some time and don't have it installed on this machine. IIRC lxml is a package, so if _elementpath is under it using the packages option of py2exe should do the trick - I use it for other packages (e.g. matplotlib).
Yes it looks like the packages option works. It does include a few more parts than I need though. It pulls in some module components that I am not using. But that's okay I guess. Just makes it a little bit bigger. Thanks Greg -- Linux. Because rebooting is for adding hardware.
participants (2)
-
Greg Willden
-
Werner F. Bruhin