Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 30th, 2007, 11:25 AM
Will McGugan
Guest
 
Posts: n/a
Default Cross platform Python app deployment

Hi,

Is there some reference regarding how to package a Python application
for the various platforms? I'm familiar with Windows deployment - I use
Py2Exe & InnoSetup - but I would like more information on deploying on
Mac and Linux.

TIA,

Will McGugan
--
http://www.willmcgugan.com
  #2  
Old July 30th, 2007, 12:45 PM
Benjamin Niemann
Guest
 
Posts: n/a
Default Re: Cross platform Python app deployment

Hi,

Will McGugan wrote:
Quote:
Is there some reference regarding how to package a Python application
for the various platforms? I'm familiar with Windows deployment - I use
Py2Exe & InnoSetup - but I would like more information on deploying on
Mac and Linux.
The standard way to package portable Python apps is a tarball with a
setup.py script. That should work on all systems where Python is already
installed, including Windows. Read <http://docs.python.org/dist/dist.html>,
if you have not already done so.

If you want more 'native' packages (as you already have for Windows, where
users are used to have a graphical installer), you'll have to
create .deb, .rpm, .whatever packages. You usually won't have to bother
about the Python interpreter, because it is either already present (it's a
standard package on most systems) or it will be pulled in via a package
dependency.
distutils already allows you to create rpm packages.


HTH

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/
  #3  
Old July 30th, 2007, 12:45 PM
Diez B. Roggisch
Guest
 
Posts: n/a
Default Re: Cross platform Python app deployment

Will McGugan wrote:
Quote:
Hi,
>
Is there some reference regarding how to package a Python application
for the various platforms? I'm familiar with Windows deployment - I use
Py2Exe & InnoSetup - but I would like more information on deploying on
Mac and Linux.
On mac, there is py2app that allows to create application-bundles you can
then install. Either including a python interpreter, or using an installed
one.

Diez
  #4  
Old July 30th, 2007, 04:05 PM
vasudevram
Guest
 
Posts: n/a
Default Re: Cross platform Python app deployment

On Jul 30, 4:42 pm, "Diez B. Roggisch" <de...@nospam.web.dewrote:
Quote:
Will McGugan wrote:
Quote:
Hi,
>
Quote:
Is there some reference regarding how to package a Python application
for the various platforms? I'm familiar with Windows deployment - I use
Py2Exe & InnoSetup - but I would like more information on deploying on
Mac and Linux.
>
On mac, there is py2app that allows to create application-bundles you can
then install. Either including a python interpreter, or using an installed
one.
>
Diez
You could also try PyInstaller - see http://pyinstaller.hpcf.upr.edu/cgi-bin/trac.cgi
The site says it works on Windows, Linux and IRIX, so no Mac ...

Vasudev Ram
Biz site: http://www.dancingbison.com
Blog (on software innovation): http://jugad.livejournal.com
PDF creation/construction toolkit: http://sourceforge.net/projects/xtopdf

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles