* Jack Howarth <howarth@...> [2003-11-11 11:17] wrote:
> What exactly is the recommended approach for installing
> and maintaining custom pymol python scripts? While I have seen
> messages describing custom pymol scripts, their installation isn't
> described. Should I put them in the python directory tree or in
> the pymol directory tree with the rest of pymol's own python scripts?
> Or is there a way to have a system wide or local user directory
> that python will check for scripts?
For myself, I keep the scripts in a directory (~/prog/python) that is
included in my PYTHONPATH environment variable. The script that starts
pymol then appends to this path what it needs for itself. I then also
automatically load the scripts via my .pymolrc file:
There is probably a better way, especially for a system-wide approach.
> I am looking for an approach that will not require me
> to reinstall all of my custom pymol python scripts everytime
> I upgrade python and/or pymol. Thanks in advance for any
Robert L. Campbell, Ph.D. <rlc1@...>
Senior Research Associate phone: 613-533-6821
Dept. of Biochemistry, Queen's University, fax: 613-533-2497
Kingston, ON K7L 3N6 Canada http://adelie.biochem.queensu.ca/~rlc
PGP Fingerprint: 9B49 3D3F A489 05DC B35C 8E33 F238 A8F5 F635 C0E2