On 7/11/13 8:27 AM, Ken Kixmoeller (ProFox) wrote:
> Not too relevant these days, as with PHP I need to have the source code on
> the server. How does it work with Python?

Depends on what you want to do. For web apps, it's pretty common just to deploy 
with
Git, which means source code on the production server. I've never worked out 
how to
make a binary executable Python web service, for example.

For my Dabo-based desktop apps, I make executables for Windows, Mac, and Linux 
using
PyInstaller, py2app, and cx_freeze respectively, and then put those in installer
files for Windows and Mac using InnoSetup and a custom DMG maker I made,
respectively. On Linux, I just distribute a tarball and a readme.

I distribute the source code for just the program I made for the customer, in a
separate package. No need to distribute the Dabo source, for instance, since it 
is
and will be available online. I do have some private libraries of my own that 
are
dependencies, which I also distribute with the source. Sometimes I lag before
updating their source code, which makes me want to automate the process more.

I make sure my clients know that I'm developing in Python, and that a competent
programmer that knows Python will be able to take over for me after a few weeks 
of
reading my code and learning my style (which has definitely evolved over the 
years,
making for inconsistencies which sometimes really bug me).

I guess it isn't very easy to find competent Python programmers these days 
(they are
all getting hired quicker than new Python programmers are being born) but I 
feel like
I've done my part by doing the above.

Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to