[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Python requirements for buildbot - MAC

From: Blair Zajac <blair_at_orcaware.com>
Date: Mon, 08 Jun 2009 17:44:41 -0700

Gavin Baumanis wrote:
> Hi Everyone,
>
> I thought I would offer the services of a few spare machines here as
> buildbots for the Subversion project - but have hit a snag and since
> Python almost seems ubiquitous within the Subversion community, I
> thought I'd see if I could bother someone to help me out.
> (I have searched our good friend Mr.Google for the past three days
> without luck.)
>
> I found this link here;
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=709749
> from Lieven and have been attempting to follow it.
>
> The trouble I have is;
> My Mac came pre-bundled with Python 2.5 and one of the applications
> require 2.4.6
>
> So, I have installed 2.4.6 and included it in the path environment
> variable.
> I can successfully configure / make / make install Zope.
> But for Twisted (I have no idea what it is - just that is listed as a
> requirement in the article) has an installer application and manages
> to use the pre-bundled version of Python and then subsequently fails
> since it is not using the 2.4.6 version.
>
> So after all that : my question is;
> Can I remove the pre-bundled version of Python- and if so how?

No, that's a bad idea.

> If I can't - Can I have the OS and applications "see" the 2.4.6
> install as being the "default" version of Python to use?

No, you don't want to use Python 2.4 as scripts written using Python 2.5 have
features that 2.4 doesn't support so you can randomly break things on your Mac.

As Aditya stated, you want your BuildBot to set it's own PATH to find Python 2.4
before Python 2.5.

BTW, have you checked out using MacPorts for this? It supplies pieces of what
you need.

Regards,
Blair

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2360503

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-09 02:46:04 CEST

This is an archived mail posted to the Subversion Users mailing list.