[Distutils] pkg_resources on Windows

Andrea Crotti andrea.crotti.0 at gmail.com
Wed Dec 14 15:33:34 CET 2011


On 12/14/2011 05:10 AM, PJ Eby wrote:
> On Tue, Dec 13, 2011 at 9:42 AM, Andrea Crotti 
> <andrea.crotti.0 at gmail.com <mailto:andrea.crotti.0 at gmail.com>> wrote:
>
>     bindir = join('psi', 'devsonly', 'bin')
>     scripts = [join(bindir, x) for x in os.listdir(bindir) if
>     x.endswith('.py')]
>
>
> This is your problem: specifying scripts in this fashion will not 
> cause an .exe wrapper to be generated.  See:
>
> http://peak.telecommunity.com/DevCenter/setuptools#automatic-script-creation
>
> for more details.

Thanks a lot, it's create to get an actual exe file in the PATH :)

The problem is that now everything seems to work but I get an error from 
PyQt which
I normally should not really have.

   File 
"C:\python25\lib\site-packages\traitsbackendqt-3.1.0n1-py2.5-win32.egg\enthought\pyface\ui\qt4\workbench\split_tab_widget.py", 
line 32, in __init__
     QtGui.QSplitter.__init__(self, *args)
TypeError: argument 1 of QSplitter() has an invalid type
QEventDispatcherWin32::unregisterTimer: invalid argument
QEventDispatcherWin32::unregisterTimer: invalid argument

Looks like it's loading something different than what it should do, but 
it's weird because launching the command everything
works normally.
Any idea of what it could be?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20111214/b96afec0/attachment.html>


More information about the Distutils-SIG mailing list