Nowadays, since the advent of Mac OS X, Macs are Unix systems. OS X/Darwin is a BSD Unix flavor a close sibling of freebsd.
So, all the regular tar archive based distribution tricks work. In addition, the Mac has its own ways to distribute things via disk images, which are quite good too. See the hdiutil program (or the Disj Utility application).


Which you use depends on your audience.
Mac OS X comes with python pre-installed, by the way, but it's python 2.3. PyLucene requires python 2.4.


So, when that Mac Mini comes in, the first thing to do after done licking it, is to download and install the developer tools (if not included with the OS CDs, get them for free from the Apple web site). The download the python 2.4 sources from www.python.org and build them:
- bunzip2 -c python-2.4.tar.bz2 | tar -xvf -
- cd Python-2.4
- ./configure --enable-framework
- make
- sudo make frameworkinstall


Python 2.4 then ends up in /Library/Frameworks/Python.framework/Versions/2.4 with the proper links in /usr/local/bin

Andi..

On Mon, 14 Feb 2005, aurora wrote:

I have finally placed an order of mac mini :-) Ready to port the
MindRetrieve application to mac!

I haven't used a modern mac. I remember there was some discussion here
about python on mac and that Chandler runs on mac. Just wonder if
there is any pointer for packaging and distributing a Python
application. The Windows installer works great. It is one standalone
installer of 3.6Mb. Inside it bundles Python and PyLucene using
Innosetup and py2exe. The application run as a NT service in the
background. Does mac has a counterpart of NT services or unix daemon?
How does user usually install applications?

Thanks for your advice.
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to