Fix the "chicken or the egg" problem: while installing solaar, setup.py tries to
import solaar. This will only work if solaar already is installed before. On
first time installation a import exception is raised.::
$ pip install git+https://github.com/pwr/Solaar.git
Collecting git+https://github.com/pwr/Solaar.git
Cloning https://github.com/pwr/Solaar.git to /tmp/pip-req-build-xzyoskf5
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-xzyoskf5/setup.py", line 11, in <module>
from solaar import NAME, __version__
ModuleNotFoundError: No module named 'solaar'
missing packages 'cli' from "/lib/solaar/" and needed for building package rpm.
[david@david ~]$ solaar -dd
Traceback (most recent call last):
File "/usr/bin/solaar", line 43, in <module>
import solaar.gtk
File "/usr/lib/python2.7/site-packages/solaar/gtk.py", line 26, in <module>
import solaar.cli as _cli
ImportError: No module named cli