[Spambayes] installing without being root?

Tony Meyer tameyer at ihug.co.nz
Fri Apr 21 07:58:30 CEST 2006


[Matt Fischer]

>> I am installing SpamBayes on my shared host and I do not have
>> permissions to install the libraries in /usr/lib/.  Where can I
>> edit a script or change a variable so that it installs to ~/local/?

[Tony Meyer]
> Run:
>
> python setup.py install --help
>
> for a complete list of what you can do.  Probably just:
>
> python setup.py install --prefix=~/local
>
> would be sufficient.  You could add --dry-run to check first.

Note that --dry-run has to be added between setup.py and install:

python setup.py --dry-run install --prefix=~/local

Otherwise it won't be noticed.

=Tony.Meyer

-- 
Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes.
http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this.




More information about the SpamBayes mailing list