lyvi
lyvi copied to clipboard
Issue with setup.py and recent versions of pip
setup.py
seems to rely on pip
's internal parsing tools to parse requirements from the pip_requirements.txt. However, pip
recently updated their implementation, which is likely why setup.py
fails on new versions of pip
now.
This can be temporarily worked around by modifying setup_py
and installing pip
requirements manually:
After installing required packages (for me on SailfishOS, that was python3-devel
and libcurl-devel
) and compiling/installing glyr
, do:
sudo pip install cyton
sudo pip install -r pip_requirements.txt
cp setup_py setup_fixed.py
nano setup_fixed.py
Then remove liine 28 from setup_fixed.py
and:
python3 setup_fixed.py build
sudo python3 setup_fixed.py install
On SailfishOS, replace all sudo
by devel-su
.