Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. steps to run canto as a local user (all software installed in user home directory)
  2. after these steps, python will be installed to ~/python and canto to ~/canto
  3.  
  4. 1. install python 3.3. or later to user home - 3.4.1 used in this example
  5. (after unpacking and cd'ing to python source):
  6. ./configure --prefix=~/python && make && make install
  7.  
  8. 2. install feedparser
  9. (don't remember how this goes, but should be installed to ~/python/lib/python3.4/site-packages somehow, probably by u$
  10. Feedparser requires a certain module, but I don't remember the name. Feedparser installation complains about it.
  11.  
  12. 3. install canto with the locally installed python
  13. instead of the usual setup.py install do:
  14. ~/python/python3.4.1/bin/python3.4 setup.py install --prefix=~/canto
  15.  
  16. 4. run canto:
  17. * you must set PATH to ~/canto/bin so that canto-remote can be found (this might not be necessary in later canto versions)
  18. * you must set PYTHONPATH to your local python installation so feedparser can be found
  19.  
  20. these are run from ~/canto/bin:
  21. PATH=$PATH:~/canto/bin PYTHONPATH=~/canto/lib/python3.4/site-packages/ ~/python/python3.4.1/bin/python3.4
  22. canto-daemon &
  23.  
  24. PATH=$PATH:~/canto/bin PYTHONPATH=~/canto/lib/python3.4/site-packages/ ~/python/python3.4.1/bin/python3.4 canto-curses
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement