Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- steps to run canto as a local user (all software installed in user home directory)
- after these steps, python will be installed to ~/python and canto to ~/canto
- 1. install python 3.3. or later to user home - 3.4.1 used in this example
- (after unpacking and cd'ing to python source):
- ./configure --prefix=~/python && make && make install
- 2. install feedparser
- (don't remember how this goes, but should be installed to ~/python/lib/python3.4/site-packages somehow, probably by u$
- Feedparser requires a certain module, but I don't remember the name. Feedparser installation complains about it.
- 3. install canto with the locally installed python
- instead of the usual setup.py install do:
- ~/python/python3.4.1/bin/python3.4 setup.py install --prefix=~/canto
- 4. run canto:
- * you must set PATH to ~/canto/bin so that canto-remote can be found (this might not be necessary in later canto versions)
- * you must set PYTHONPATH to your local python installation so feedparser can be found
- these are run from ~/canto/bin:
- PATH=$PATH:~/canto/bin PYTHONPATH=~/canto/lib/python3.4/site-packages/ ~/python/python3.4.1/bin/python3.4
- canto-daemon &
- 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