[BioPython] Installing biopython-1.00a4

Martin MOKREJŠ mmokrejs@natur.cuni.cz
Wed, 17 Apr 2002 16:28:05 +0200 (CEST)


Hi,
  I'm new to biopython. I think it would be wise to put for few more
lines explaining how to install python into user's own home directory
instead of site-wide which not everyone cal modify. I was looking for
variable like --prefix, hmm and no luck, and as long as there's no
configure or Makefile, one is a bit lost. ;)


  OK, this helped:

$ python setup.py install --home=$HOME
[...]
byte-compiling /home/users/mokrejs/lib/python/Martel/optimize.py to optimize.pyc
byte-compiling /home/users/mokrejs/lib/python/Martel/setup.py to setup.pyc
warning: my_install: modules installed to '/home/users/mokrejs/lib/python/', which is not in Python's module search path (sys.path) -- you'll have to change the search path yourself
bontebok$ python
Python 2.1.3 (#4, Apr 15 2002, 18:01:32) [C] on osf1V4
Type "copyright", "credits" or "license" for more information.
>>> from Bio.Seq import Seq
>>> new_seq = Seq('GATC') 
>>> new_seq[0:2]
Seq('GA', Alphabet())
>>> 
$ echo $PYTHONPATH
/home/users/mokrejs/lib/python2.1/site-packages
$ 

  Looks the checks are a bit leaky. Biopython works fine.


-- 
Martin Mokrejs <mmokrejs@natur.cuni.cz>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3616 , fax: +49-89-3187 3585