lyvi icon indicating copy to clipboard operation
lyvi copied to clipboard

Installation User-Friendliness

Open bambams opened this issue 10 years ago • 0 comments

$ lyvi
Lyvi only supports Python 3.

After all of the trouble that it took me to get it installed (as a Python n00b) it was quite an annoyance to realize that I had installed it into the wrong Python version. I'm attempting to maintain local python environments using pyenv (https://github.com/yyuu/pyenv).

$ pyenv versions
  system
* 2.7.9 (set by /home/bambams/src/pyenv/version)
* 3.4.2 (set by /home/bambams/src/pyenv/version)

That way I know that they are up-to-date, and also it means that I can maintain personal packages distinct from distribution packages in /usr, etc. No risk harming system software with packages that I install or changes that I make within my $HOME.

I guess that to get lyvi and its dependencies installed into the 3.4.2 environment I need to use pyenv local 3.4.2 from within the appropriate the root of the lyvi source tree and again issue pip install cython, pip -r pip_requirements.txt, and finally install lyvi using python3 setup.py. It would be nice to break the build in python2 with a descriptive error message so nobody wastes their time doing it again (a big notice in the readme(s) would help too), and it wouldn't hurt to add more detailed instructions for satisfying dependencies for those that lack experience with Python (again, emphasizing to use python3 during the whole process).

And if you personally recommend a "local python" management system then providing basic instructions for that would be handy (albeit, extra curricular) too.

I also attempted to install python-dbus and python-gobject into the 2.7.9 pyenv environment, but since neither seems to follow packaging conventions and are both simultaneously horrible to build I failed horribly. After much pain trying I realized that they were (I hope) optional. It might help to emphasize that as well (i.e., installing these is painful unless using a system python and supported distribution packages, but they're optional so don't bother unless you're sure you need them or are using the distribution packages).

Well I appear to have it running so hopefully I have nothing more than praise to say from now on. Thanks for your efforts.

bambams avatar Feb 12 '15 05:02 bambams