If anyone wants to try it he has to fetch the source code of pip
(python-pip-1.5.4) and replace req.py and _vendor/distlib/locators.py with
the ones from gitlab. Sorry for the inconvenience but I couldn't push all the
files to gitlab.
Please accept my merge request, it contains many improvements and it
also checks if a license is GPL-compatible.
This isn't a bad idea, but the process isn't transparent. Also, that don't
solve the main problem.
The better idea is create a separate repository with only free software with
free dependencies. This will help to spread the message than non-free
software is injust and unethical, and with
Only help I can get you is translations.
I made a project in gitlab
(https://devel.trisquel.info/mixalis/checkpackage). Help is needed.
You should talk to PyPI's developers about implementing this as a warning
(not as a refusal to download packages). You might also want to check for
different classes of licenses.
But there are some parts of your script that don't make sense:
1. "version = info.keys()[0]": What
>You should talk to pip's developers about implementing this as a warning
(not as a refusal to download packages).
In trisquel there is an issue for that https://trisquel.info/en/issues/3741.
Since trisquel has only free software it shouldn't be possible to install
from pip nonfree.
>
Hi, everyone
We also had a discussion in the Spanish forum about that issue
(https://trisquel.info/en/forum/propuesta-acerca-de-pypi). There is already
program that checks PyPI license information in Python called pypi-cli. You
can install it with pip.
sudo pip install pypi-cli
Apart
It works fine with most licenses. Reported the bug:
https://github.com/sloria/pypi-cli/issues/14
In case you're wondering, youtube-dl is in the public domain.
pypi info youtube-dl
LICENSE: Unknown
Same for mps-youtube
It seems it is not great for the purpose :)
You can always fork the repo at https://github.com/pypa/pip and then once you
make your updates, do a merge request. Were you thinking of adding a -free
command line option to pip to force free packages only?
11 matches
Mail list logo