[Pythonmac-SIG] Re-beginner's simple question

2008-01-19 Thread Charles Hartman
I mean *really* simple: I've been away from Python programming for a  
couple of years, and I've just gotten a query about an old open-source  
program posted on my website. I may have a fix for the problem the  
user encountered, at least when I run from inside the Wing IDE.

My question is, what is the current best/simplest way to build a  
freestanding application? I tried python setup.py with my old  
setup.py file, but I get an error: setuptools not found. Maybe I just  
need to fix my path? It's been a couple of systems (a couple of  
computers, for that matter) since I did this, and though I've kept up  
with current versions of Python (2.5), Wing, and wxPython (2.8.x),  
I've probably neglected some basic housekeeping.

Pointers to a simple how-to-build-an-app doc would be welcome. Thanks  
for any help.

Charles Hartman

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] Re-beginner's simple question

2008-01-19 Thread Kenneth Miller
Check out py2applet, I use it all the time.
Regards,
Kenneth Miller

On Jan 19, 2008 1:40 PM, Charles Hartman [EMAIL PROTECTED]
wrote:

 I mean *really* simple: I've been away from Python programming for a
 couple of years, and I've just gotten a query about an old open-source
 program posted on my website. I may have a fix for the problem the
 user encountered, at least when I run from inside the Wing IDE.

 My question is, what is the current best/simplest way to build a
 freestanding application? I tried python setup.py with my old
 setup.py file, but I get an error: setuptools not found. Maybe I just
 need to fix my path? It's been a couple of systems (a couple of
 computers, for that matter) since I did this, and though I've kept up
 with current versions of Python (2.5), Wing, and wxPython (2.8.x),
 I've probably neglected some basic housekeeping.

 Pointers to a simple how-to-build-an-app doc would be welcome. Thanks
 for any help.

 Charles Hartman

 ___
 Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
 http://mail.python.org/mailman/listinfo/pythonmac-sig

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] Re-beginner's simple question

2008-01-19 Thread Kenneth Miller

No, it bundles a python binary along with your source in a .app package.

Regards,
Kenneth Miller

On Jan 19, 2008, at 4:55 PM, Charles Hartman [EMAIL PROTECTED] 
 wrote:


Thank you very much. Doesn't that depend on whatever Python is built- 
in on the end-user's machine? I'd have to do some testing (which I  
may not have properly equipped machines to do) to see what my app  
will work with . . .


Best,
Charles Hartman


On Jan 19, 2008, at 4:20 PM, Kenneth Miller wrote:


Check out py2applet, I use it all the time.

Regards,
Kenneth Miller

On Jan 19, 2008 1:40 PM, Charles Hartman  [EMAIL PROTECTED] 
 wrote:

I mean *really* simple: I've been away from Python programming for a
couple of years, and I've just gotten a query about an old open- 
source

program posted on my website. I may have a fix for the problem the
user encountered, at least when I run from inside the Wing IDE.

My question is, what is the current best/simplest way to build a
freestanding application? I tried python setup.py with my old
setup.py file, but I get an error: setuptools not found. Maybe I just
need to fix my path? It's been a couple of systems (a couple of
computers, for that matter) since I did this, and though I've kept up
with current versions of Python (2.5), Wing, and wxPython (2.8.x),
I've probably neglected some basic housekeeping.

Pointers to a simple how-to-build-an-app doc would be welcome. Thanks
for any help.

Charles Hartman

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig



___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


[Pythonmac-SIG] Including dependency modules

2008-01-19 Thread Nirnimesh
Hi,

I know that py2app automatically includes dependency modules which my
main script needs.

My application has some loadable python modules which, I need py2app
to figure out and include their dependency modules.

I have tried specifying them as
setup_options['options']['py2app']['includes'] = [list of loadable
modules] but to no avail. What am I doing wrong? How can I force
py2app to figure out the dependency modules for them?

Any help is greatly appreciated.

Thanks
Nirnimesh
-- 
Gravitation is not responsible for people falling in love.
-- Albert Einstein.
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


[Pythonmac-SIG] Pystone numbers for different Macs...

2008-01-19 Thread skip

My Powerbook G4 is getting rather long-in-the-tooth.  It's display is
starting to act up, so I think I'm going to buy a new Mac something in the
fairly near future, but I'm not yet sure what.  To that end, I've started a
table of pystone numbers for Macs on the Python wiki:

http://wiki.python.org/moin/MacPython/MacModelPerformance

If you could help by adding some rows to the table, especially for current
MacBook, MacBook Pro or (in the near future, MacBook Air) models, I'd
appreciate it.

Thanks,

-- 
Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip/

The major difference between Democrats and Republicans is that
Republicans don't know that Randy Newman's lyrics are full of sarcasm.
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig