[pylucene-dev] how to build a PyLucene egg?
Bill Janssen
janssen at parc.com
Mon Mar 3 18:50:32 PST 2008
So, here's what I'm trying, to build the egg without installing JCC
(this is OS X only, for the moment). I'm starting with a PyLucene
source distribution:
#!/bin/csh
echo "building PyLucene egg..."
cd /tmp
tar xvfz /prereqs/PyLucene-*.tar.gz
cd ./PyLucene-*/jcc
/usr/bin/python setup.py build
cd ..
setenv PYTHONPATH ./jcc/build/lib.macosx-10.5-i386-2.5
make PREFIX_PYTHON=/usr ANT=ant PYTHON=/usr/bin/python JCC="/usr/bin/python ./jcc/build/lib.macosx-10.5-i386-2.5/jcc/__init__.py" NUM_FILES=1 compile
find ./build -name \*.egg
Now, my next question is, given a Mac without setuptools installed on
it (10.4 with Python 2.3.5), can I install an egg on it somehow
manually? Or do I need a different build technique for Tiger? I
guess I'll ask this on the Python distutils list.
Bill
More information about the pylucene-dev
mailing list