[Python] problemi con py2exe

orciml orciml a gmail.com
Ven 25 Gen 2008 19:25:10 CET


IloChab wrote:
>
>
> 2008/1/25, orciml <orciml a gmail.com <mailto:orciml a gmail.com>>:
>
>     IloChab wrote:
>>
>>
>>     2008/1/24, orciml <orciml a gmail.com <mailto:orciml a gmail.com>>:
>>
>>         sto provando a pachettizare una applicazione
>>         il problema e' che non mi include i moduli dei miei packages
>>           (quelli prefissati con my...)
>>
>>         struttura:
>>
>>         <root>/
>>                 setup.py
>>                 myApp.py
>>                 myLib/
>>                          __init__.py
>>                          foo.py
>>                          bar.py
>>                          subfoo/
>>                                    __init__.py
>>                                    blah.py
>>
>>         The following modules appear to be missing
>>         ['FCNTL', 'TERMIOS', 'gdk', 'javax.comm', 'ltihooks', 'myCode',
>>         'myConvert', 'myDialog']
>>
>>         setup.py:
>>
>>         from distutils.core import setup
>>         import py2exe
>>
>     opts = {"packages":
>     ['','_myLib','_myLib.myUtilities','_myLib.mySerial','_myLib.myProtocol'],
>
>
>
> perchè metti l'underscore davanti?
indifferente anche senza underscore
>  se struttura:
>
> <root>/
>         myLib/
>                  __init__.py
>                  ....
>
ciao Loris
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: http://lists.python.it/pipermail/python/attachments/20080125/86919d20/attachment.htm 


More information about the Python mailing list