A program is a process, not a thing. This also applies to life, the universe, and everything.

2004-11-11

Pre-built examples

I've been requested to make binary packages of the applications for people who haven't been following along at home. The first application I've made available is the GMarkup Browser, so you'll need some GMarkup files to browse with it, either from the example here, the Renaissance site (the source package has lots of examples in the Examples folder) or by writing your own (the whole point is that that it isn't hard to do). It's available from the Living Code project on SourceForge.

I'll make others available as I get the chance, now that I've figured out the SourceForge release system (sort of) and the steps for making a disk image for distribution. Soon I need to figure the Mac Package Manager and Installer (which py2app supports) so folks who want to install several apps don't end up with multiple copies of Renaissance too. Baby steps for now, there's a lot to learn.

Mac OS 10.3 only. Feedback appreciated. Coming soon: applications that I can post meaningful screenshots of.

Comments:
Any chance of putting up just an archive of the source?
 
"""
Soon I need to figure the Mac Package Manager and Installer (which py2app supports) so folks who want to install several apps don't end up with multiple copies of Renaissance too. Baby steps for now, there's a lot to learn.
"""

NO! Don't do that. Bad. Applications should be self-contained. DO NOT spread files around their filesystem to save 150k per application.

bdist_mpkg IS NOT FOR THIS PURPOSE.
 
Fulan, I'll try to get source releases up periodically. Until then, all the sources are available via CVS.
 
Bob,

Consider me properly chastized. I misunderstood the purpose of bdst_mpkg. Perhaps you could enlighten me?
 
Applications should *ALWAYS* be self-contained. If they need to spew files elsewhere, they should be able to do that *at runtime*. Creating packages for OS X GUI applications is a terrible terrible practice that sucks for everyone. Even Microsoft Office 2004 is self-contained. You just drag the sucker to your harddrive. On first run it does the "post-installation" procedure: installing fonts, etc. It's the Mac way.

bdist_mpkg is for creating packages that will be consumed by Python developers. It wraps all of the functionality that `python setup.py install' would do (except the components in the package are always already built), and then some. With some added bonuses like putting scripts in a sane location, and asking for authentication when it needs root (to install headers or scripts).

For example (the py2app_branch of) PyObjC has a bdist_mpkg created distribution that installs PyObjC (the suite of Python extensions/packages), PyObjC scripts, PyObjC headers, PyObjC example projects, Xcode templates, etc.
 
Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?