Hi Andi,

On Apr 8, 2006, at 4:37 PM, Andi Vajda wrote:


On Sat, 8 Apr 2006, Kevin Ollivier wrote:

What about editing the Makefile so that the default python is just "python" (i.e. whichever's on the path), and then you can get the prefix by doing this:

PYTHON=python
PREFIX_PYTHON=`$(PYTHON) -c "import sys; print sys.prefix" `

I didn't know about this. That's great !
Could you please write up a patch for Makefile that implements all this ?

I'll put this on my TODO list, but as this bug doesn't bite me it would probably be faster if someone who is having problems takes a look at implementing it.

Even better, a distutils setup.py file (or yet even better for Python 2.5, an egg) would be great !

I could do this, but because I'm no expert at Makefiles (I use Bakefile ;-), it may take some time. Do you have an idea about how much of the build process could be moved into a setup.py script?

Thanks,

Kevin

Just as a data point, I had problems when Fink was installed in the past. ;-/ I tend to use darwinports if I do use one of those systems. (But I usually just install from source; it's well supported and you don't have to worry about the package/port doing something goofy because the maintainer threw some hacks in, etc.)

Me too. I always build from sources whenever possible. Last time I used darwinports was for trying gcj 4.1.0 which doesn't seem to build out of the box with the usual configure flags.

Andi..


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

Reply via email to