{% extends "moneta/base_package.html" %}{% load staticfiles i18n moneta %} {% block extrahead %} {% endblock %} {% block repo_content %}
[global]
allow-all-external = true
extra-index-url = {{ absolute_url }}{{ tab_info.0 }}
{% if use_https %}cert = {% trans '/Path/to/your/ROOT/CA.pem' %}{% else %}trusted-host={{ server_name }}{% endif %}
{% trans 'Modifiy your $HOME/.pydistutils.cfg file to use easy_install:' %}
[easy_install]
find_links = {{ absolute_url }}{{ tab_info.0 }}
{% trans 'If you already uses an extra Python mirror, update your $HOME/.pip/pip.conf in this way:' %}
[global]
extra-index-url = http://…/simple\
{{ absolute_url }}{{ tab_info.0 }}
{% trans '… and your $HOME/.pydistutils.cfg:' %}
[easy_install]
find_links = http://…/simple\
{{ absolute_url }}{{ tab_info.0 }}
{% if use_https %}{% trans 'Before using easy_install, you probably need to add your root certificate to the first existing file among:' %}
FILENAME=filename-version(.tar.gz|.tar.bz2|.tar.xz|.whl|.zip|.egg)
{% curl %} --data-binary @$FILENAME {{ absolute_url }}{% url 'moneta:add_element_post' rid=repo.id %}\?filename=$FILENAME{% for state in tab_info.1 %}\&states={{ state }}{% endfor %}{% endif %}