Parabola Issue Tracker: Issueshttps://labs.parabola.nu/https://labs.parabola.nu/favicon.ico?15367742552012-04-15T19:18:09ZParabola Issue Tracker
Redmine Packages - Freedom Issue #83 (in progress): [python-virtualenv] via pip call to install non-free ...https://labs.parabola.nu/issues/832012-04-15T19:18:09Zaurelienaurelien@hackers.camp
<p>It seems that python-virtual via pip call to install non-free stuff list on <a class="external" href="http://pypi.python.org">http://pypi.python.org</a><br />At this time the possible issue is to modify directly pip ::</p>
<p>install the python virtualenv</p>
<p>modify ~/.vir*/*/lib/pyt*/site-packages/pip*/pip/commands/install.py<br />you should modify the search.py to<br />on the line corresponding to the target website</p>
<blockquote><blockquote><blockquote>
<p>import py_compile<br />py_compile.compile('install.py')</p>
</blockquote></blockquote></blockquote>
<p>to replace the .pyc corresponding</p>
<p>then copy modify the <a class="external" href="http://pypi.python.org/simple/">http://pypi.python.org/simple/</a><br />and the page correspondant to each software<br />keep the md5 (needed as explain<br /><a class="external" href="http://peak.telecommunity.com/DevCenter/EasyInstall#package-index-api">http://peak.telecommunity.com/DevCenter/EasyInstall#package-index-api</a>)</p>
<p>works on it at this time ... hope to find a better issue</p>
<p>files which should be concerned</p>
<p>This link should be replaced by a free repository</p>
<p>pip/commands/install.py (pypi.python.org/simple) line 52<br />pip/commands/search.py (pypi.python.org/simple) line 25<br />pip/index.py (last.pypi.python.org) line 29</p>
<blockquote>
<p>index.py also suggest line 351 and 352 to keep the name simple (maybe we can change here to free) which mean a possible complete and correct rebranding to freedom</p>
</blockquote>
<p>end of visiting /pip and /pip/commands</p>
<p>it seems we need a sort of repository like last.pypi.python.org + free list + modifying the source codes as above.</p>