{% extends 'pythonnest/base.html' %} {% load i18n %} {% block content %}
{% trans 'Edit ~/.pip/pip.conf to include these lines:' %}
[global] index = {{ full_uri }}{% url 'rpc4django' %} index-url = {{ full_uri }}{% url 'simple' %} allow-all-external = true {% if use_ssl %}cert = <path to your CA>{% else %}trusted-host={{ base_url }}{% endif %}
{% trans 'Edit ~/.pydistutils.cfg to include these lines:' %}
[easy_install] index_url = {{ full_uri }}{% url 'simple' %}{% if use_ssl %}
{% trans 'You should probably add your root certificate to the first existing file among:' %}
{% trans 'Edit ~/.pypirc to include these lines:' %}
[distutils] index-servers = pythonnest [pythonnest] username: your-login password: your-password repository: {{ full_uri }}{% url 'setup' %}
{% trans 'Run the following command to register a package to this repository:' %}
python setup.py register -r {{ full_uri }}{% url 'setup' %}
{% trans 'Run the following command to upload to this repository:' %}
python setup.py bdist sdist upload -r {{ full_uri }}{% url 'setup' %}
{% trans 'To easily use virtual environments, adapt and run these lines:' %}
sudo pip install pip --upgrade sudo pip install virtualenvwrapper echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc source /usr/local/bin/virtualenvwrapper.sh # {% trans 'create virtual env' %} mkvirtualenv test # {% trans 'use virtual env' %} workon test
{% trans 'Edit ~/.buildout/default.cfg to include these lines:' %}
[buildout] index = {{ full_uri }}{% url 'simple' %}