in addition to resolving install dependencies, setuptools supports
"extras" with their own dependencies. these can be installed using
easy_install, like so:
$ easy_install mypackage[extraFeature]
what is the best way to cause an extra's dependencies to be installed
when using the `python setup
i know how to programmatically create python functions:
module = __import__( '__main__')
def factory( val ):
def f( arg=val ): print arg, val
f.__name__ = 'function%s' % x
return f
for x in [1,2,3,4]:
func = factory( x )
setattr( module, func.__name__, fu
i don't have any signal handlers in my code, but i have no idea what
is going on in the internals of the pyQt framework that i'm using for
the GUI.
as far as simply ignoring the exception, that does not seem to work.
for instance, here's some code i've tried:
p = subprocess.Popen('mycommand', sh
i'm getting the same error when trying to read results from popen2
within a pyQt window. is this a threading issue? is my pyQt window
responsible for interrupting the read? i'm fairly new to python so
i'm struggling to figure this out. can you recommend any possible
methods of preventing this? fo