{% extends "core/base_package.html" %}{% load staticfiles i18n moneta %} {% block extrahead %} {% endblock %} {% block repo_content %}

{% trans 'Available pip indexes' %}

{% trans 'Add one of these lines to your $HOME/.pip/pip.conf file:' %} {% with view=repo|moneta_url:'simple' %}{% endwith %} {% if admin %}{% trans 'In order to add a new package, please run the following command:' %}
FILENAME=filename-version(.tar.gz|.tar.bz2|.tar.xz|.whl|.zip|.egg)
curl --data-binary @$FILENAME -u : --anyauth {{ absolute_url }}{% url 'moneta.core.views.add_element_post' rid=repo.id %}?filename=$FILENAME{% for state in states %}&states={{ state }}{% endfor %}
{% endif %} {% include 'core/add_signature.html' %} {% endblock %}