Forum Discussion
Justin_Adrian_3
Nimbostratus
Aug 18, 2009pyControl and py2exe
I am currently developing a quick and dirty check for our code promotion folks in where they just enter a VIP and it displays back the status of the pools.
I am currently developing thi...
L4L7_53191
Nimbostratus
Aug 18, 2009Ah yes. This is a problem with the resource_filename() method from the pkg_resources module. A possible workaround (taken from http://osdir.com/ml/python.distutils.devel/2005-10/msg00043.html) is to include the pycontrol egg in the zip file. If you do this, I'd try and yank as many of the WSDLS out of the WSDL_CACHE_DIR as possible to keep your package small.
I may be able to patch this, although using resource_filename() in pkg_resources was a big time saver for us so I'll need to look into another way of doing it that's more friendly for this type of thing but just as portable.
-Matt
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects