Sorry for the newbie question, but has anyone installed docutils on
Dreamhost? I tried this:
(using http://docutils.sourceforge.net/docs/dev/policies.html)
- I'm on my /home/user directory
- svn checkout svn://svn.berlios.de/docutils/trunk/docutils
- I edit .bash_profile to
umask 002
export PATH=$PATH:$HOME/django/django_src/django/bin
export PYTHONPATH=$PYTHONPATH:$HOME/django/django_src:$HOME/django/
django_projects
export PATH=$PATH:$HOME/docutils/docutils/tools
export PYTHONPATH=$PYTHONPATH:$HOME/docutils/docutils
export PYTHONPATH=$PYTHONPATH:$HOME/docutils/docutils/extras
- then I do a source ~/.bash_profile
- then in /home/user/docutils I use "python setup.py install"
In /home/user/docutils/test I run "./alltests.py" and everything's fine
If I do a "import docutils" in a python session, no error report. So
it should be fine.
Yet, even after a "pkill python", I still get a "Please install
docutils" message when I hit the documentation page on Django admin.
Have I forgotten to do something ?
Thanks for your help,
--Remi
I did not edit the .bash_profile like you. Instead I ran "setup.py
install --prefix $HOME" which created the bin and lib dir right in
$HOME. Then in my django.fcgi file I added
$HOME/lib/python2.3/site-packages/ to the PYTHONPATH like this.
sys.path += ['/home/MYUSER/lib/python2.3/site-packages']
That has worked for me. I hope it works for you. Good luck.
--
----
Waylan Limberg
way...@gmail.com
> I did not edit the .bash_profile like you. Instead I ran "setup.py
> install --prefix $HOME" which created the bin and lib dir right in
> $HOME. Then in my django.fcgi file I added
> $HOME/lib/python2.3/site-packages/ to the PYTHONPATH like this.
> sys.path += ['/home/MYUSER/lib/python2.3/site-packages']
>
> That has worked for me. I hope it works for you. Good luck.
At last it works! Thanks a lot!!!
Thank you Waylan for the explanation too!
--Remi
--
Sean R.