Gerben Wierda wrote:
> So I tried:

> sudo make DESTDIR=/Library/Frameworks/Python.framework/Versions/2.4  
> install

> but that results in things one probably does not want, e.g. during  
> the install run one sees:
> 
> byte-compiling /Library/Frameworks/Python.framework/Versions/2.4/ 
> System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
> site-packages/cvs2svn_rcsparse/texttools.py to texttools.pyc

That's actually where you would want a package installed. It all depends 
on how cvs2svn is designed to be installed.

> So, I tried bypassing the cvs2svn Makefile after reading setup.py  
> (and not knowing Python at all, guessing):

this is the right thing to do -- if a python package has a setup.py -- 
use to install.

> sudo /Library/Frameworks/Python.framework/Versions/2.4/bin/python  
> setup.py install

After you installed python 2.4, your PATH should have been set up to use 
by default. What to you get when you just type "python" on your command 
line? If you get the new python, then all you need is:

sudo python setup.py install.

even if you don't', it should have put a link into /usr/local/bin, so:

sudo /usr/local/bin/python setup.py install

should work. Not that there is anything wrong with what you did -- it's 
just awkward to type.

> So, what I did:
> - Downloaded and installed Berkeley DB 4.4 from source (I do not know  
> if this was a necessary step)

probably not. I'm pretty sure the 2.4 Universal .pkg has BerkelyDB built-in.

> - Install the Python 2.4 Universal .pkg
> - Downloaded and unarchived cvs2svn-1.3.1 in /usr/local/src
> - cd /usr/local/src/cvs2svn-1.3.1
> - sudo /Library/Frameworks/Python.framework/Versions/2.4/bin/python  
> setup.py install

this could have been simpler -- see above.

> hermione-a:/usr/local/subversion/II2/ii2-cvsbackup gerben$ /Library/ 
> Frameworks/Python.framework/Versions/2.4/bin/cvs2svn -- 

cvs3svn should have put itself into the standard scripts dir, and the 
2.4 Universal installer should have added that to your PATH, so you 
should just be able to type:

cvs2svn --

what shell are you using?

What do you get when you type:

echo $PATH

You should get something with:

/Library/Frameworks/Python.framework/Versions/2.4/bin

in it.

In short -- if you installed the Universal Python2.4 first, then used 
setup.py to install cvs2svn, everything should have "just worked"

-Chris




-- 
Christopher Barker, Ph.D.
Oceanographer
                                                
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to