lyvi icon indicating copy to clipboard operation
lyvi copied to clipboard

Issue with setup.py and recent versions of pip

Open Kabouik opened this issue 4 years ago • 1 comments

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.

Kabouik avatar May 28 '20 14:05 Kabouik

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.

Kabouik avatar May 28 '20 15:05 Kabouik