Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with setup.py and recent versions of pip #56

Open
Kabouik opened this issue May 28, 2020 · 1 comment
Open

Issue with setup.py and recent versions of pip #56

Kabouik opened this issue May 28, 2020 · 1 comment

Comments

@Kabouik
Copy link

Kabouik commented May 28, 2020

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
Copy link
Author

Kabouik commented May 28, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant