Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Need advice to make a cross-platform wx program
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tony Cappellini  
View profile   Translate to Translated (View Original)
 More options Aug 23 2012, 10:46 am
From: Tony Cappellini <cappy2...@gmail.com>
Date: Thu, 23 Aug 2012 07:46:58 -0700
Local: Thurs, Aug 23 2012 10:46 am
Subject: Need advice to make a cross-platform wx program

I've used py2exe for windows apps failry successfully.

I now need to make a Wx app which will be used on both windows & Mac.
(If I can get it working on linux too with minimal effort, that would be
ideal, but linux isn't a priority)

The app will just parse text files. No network, database or hardware
interaction (other than basic file I/O) is required.

Given that Python on the Mac is so contrived & problematic, what is the
best way to deploy a simple wxPython app for both Windows & Mac, so that
end users will not need to have Python & wx on their systems?

Is Andrea's executable maker still alive & active, or are there other
cross-platform deployment tools available for wx apps?

How do I handle that some users may be running 32-bit an others may be
running 64-bit OSs?

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cody  
View profile  
 More options Aug 23 2012, 10:51 am
From: Cody <codyprec...@gmail.com>
Date: Thu, 23 Aug 2012 09:51:19 -0500
Local: Thurs, Aug 23 2012 10:51 am
Subject: Re: [wxPython-users] Need advice to make a cross-platform wx program
Hi,

On Thu, Aug 23, 2012 at 9:46 AM, Tony Cappellini <cappy2...@gmail.com> wrote:

> I've used py2exe for windows apps failry successfully.

> I now need to make a Wx app which will be used on both windows & Mac.
> (If I can get it working on linux too with minimal effort, that would be
> ideal, but linux isn't a priority)

> The app will just parse text files. No network, database or hardware
> interaction (other than basic file I/O) is required.

> Given that Python on the Mac is so contrived & problematic, what is the best
> way to deploy a simple wxPython app for both Windows & Mac, so that end
> users will not need to have Python & wx on their systems?

Contrived and problematic?

> Is Andrea's executable maker still alive & active, or are there other
> cross-platform deployment tools available for wx apps?

> How do I handle that some users may be running 32-bit an others may be
> running 64-bit OSs?

Just use py2app on OSX, its almost exactly the same as py2exe on
Windows. There is a simple example of doing this in my book (which
IIRC you have a copy of ;) ).

Cody


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Driscoll  
View profile   Translate to Translated (View Original)
 More options Aug 23 2012, 11:33 am
From: Mike Driscoll <m...@pythonlibrary.org>
Date: Thu, 23 Aug 2012 10:33:30 -0500
Local: Thurs, Aug 23 2012 11:33 am
Subject: Re: [wxPython-users] Need advice to make a cross-platform wx program

Hi Tony,

On Thu, Aug 23, 2012 at 9:46 AM, Tony Cappellini <cappy2...@gmail.com>wrote:

> I've used py2exe for windows apps failry successfully.

> I now need to make a Wx app which will be used on both windows & Mac.
> (If I can get it working on linux too with minimal effort, that would be
> ideal, but linux isn't a priority)

> The app will just parse text files. No network, database or hardware
> interaction (other than basic file I/O) is required.

> Given that Python on the Mac is so contrived & problematic, what is the
> best way to deploy a simple wxPython app for both Windows & Mac, so that
> end users will not need to have Python & wx on their systems?

In addition to py2app, you might look at PyInstaller. It supports all three
major platforms and I'm pretty sure GUI2Exe works with it too.

> Is Andrea's executable maker still alive & active, or are there other
> cross-platform deployment tools available for wx apps?

I know he still maintains it, but I haven't seen much action on it lately.

> How do I handle that some users may be running 32-bit an others may be
> running 64-bit OSs?

> Thanks

32-bit apps work on 64-bit systems most of the time, just not the reverse.
So you can either create just 32-bit versions or create both and name them
accordingly.

- Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Barker  
View profile  
 More options Aug 23 2012, 12:04 pm
From: Chris Barker <chris.bar...@noaa.gov>
Date: Thu, 23 Aug 2012 09:04:28 -0700
Local: Thurs, Aug 23 2012 12:04 pm
Subject: Re: [wxPython-users] Need advice to make a cross-platform wx program

On Thu, Aug 23, 2012 at 8:33 AM, Mike Driscoll <m...@pythonlibrary.org> wrote:
>> Given that Python on the Mac is so contrived & problematic,

problematic, maybe, contrived? huh? Anyway, if you think of the Mac
like Windows -- i.e. dont expect a system Python, it's pretty much the
same deal.

> In addition to py2app, you might look at PyInstaller. It supports all three
> major platforms and I'm pretty sure GUI2Exe works with it too.

Has anhyone use PyINstaller for OS-X? I have not seen a single post
abou tit on the pytonmac list. THis page:

http://www.pyinstaller.org/wiki/Features/MacOsCompatibility

MAke it sound a bit incomplete and minimally tested. Bu tit would be
nice to have one solution that works everywhere -- while py2app was
designed to mirror the py2exe API, it has, in fact, diverged, an I
find I have to essentially write two totally different setup.py files
anyway.

A tiny bit about py2app:

If you use one of Apple's Python installs, py2app does not include
python (Apple's licensing makes that illegal), so you really do'nt
have a stand alone.

So I suggest using the pyton.org binary builds:

The 32bit PPC+Intel build will support OS-X > = 10.4 -- very good coverage.

The 32+64 bit Intel build will support OS-X >= 10.6 Intel only --
which is probably most people by now anyway.

Note that if you are compiling any of your own extensions, the 32 bit
build required XCode 3.8, NOT XCode 4.* -- you can get it from Apple,
but they bury it a bit, so poke around to find it.

-good luck,

-Chris

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Bar...@noaa.gov


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Driscoll  
View profile   Translate to Translated (View Original)
 More options Aug 23 2012, 1:26 pm
From: Mike Driscoll <m...@pythonlibrary.org>
Date: Thu, 23 Aug 2012 12:26:20 -0500
Local: Thurs, Aug 23 2012 1:26 pm
Subject: Re: [wxPython-users] Need advice to make a cross-platform wx program

Chris,

On Thu, Aug 23, 2012 at 11:04 AM, Chris Barker <chris.bar...@noaa.gov>wrote:

If I had a Mac I'd certainly try PyInstaller. I just keep seeing that they
make it known that they support Macs on their front page, so I figured they
had tested it a bit. I know I shouldn't do that.

-----------------


Mike Driscoll

Blog:   http://blog.pythonlibrary.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »