{% extends "root.html" %}{% load staticfiles %}{% load url from future %}{% load i18n %} {% block body %}
{% trans 'Edit ~/.pydistutils.cfg to include these lines:' %}
[easy_install] index_url = {{ base_url }}simple{% if use_ssl %}
{% trans 'You probably have to add your root certificate to the first existing file among:' %}
{% trans 'Edit ~/.pip/pip.conf to include these lines:' %}
[global] index = {{ base_url }}pypi index-url = {{ base_url }}simple{% if use_ssl %} cert = <path to your CA>{% endif %}
{% trans 'Edit ~/.pypirc to include these lines:' %}
[distutils] index-servers = pythonnest [pythonnest] username: your-login password: your-password repository: {{ base_url }}setup
{% trans 'Run the following command to register a package to this repository:' %}
python setup.py register -r {{ base_url }}setup
{% trans 'Run the following command to upload to this repository:' %}
python setup.py bdist sdist upload -r {{ base_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 = {{ base_url }}simple