Re: [Py2exe-users] compiling multiple executables
by Bruno THOORENS other posts by this author
Jul 29 2006 9:17AM messages near this date
Re: [Py2exe-users] compiling multiple executables
|
[Py2exe-users] py2exe
David Figgins wrote :
> I observed an issue while using py2exe on multiple targets:
>
> setup.py:
> from distutils.core import setup
> import py2exe
>
> setup(console=["targetA.py"])
> setup(console=["targetB.py"])
>
hi,
try this in your setup...
## -----------------------------
from distutils.core import setup
import py2exe
setup(
[...]
console=[
{'icon_resources': [(0, 'your.icon')],
'script': 'your.targetA'},
{'icon_resources': [(0, 'your.icon')],
'script': 'your.targetA'}
],
[...]
)
## -----------------------------
if you have no icon, replace by an empty list...
{'icon_resources': [],[...]
Bruno
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Py2exe-users mailing list
Py2exe-users@[...].net
https://lists.sourceforge.net/lists/listinfo/py2exe-users
Thread:
David Figgins
Mark Hammond
David Figgins
Bruno THOORENS
|