This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A multiple repository PyPI server implementation

Project Description

Installation Instructions

From source

Clone the source code from the Github’s repository:

git clone https://github.com/hallaj/inupypi.git

Building the application:

python setup.py develop

Running the application

Inupypi can be run using the usual apache mod_wsgi setup as well as stand alone mode.

As Standalone WSGI Server:

inupypi_server -H <INSERT HOSTNAME> -p <INSERT PORT> -t <HTPASSWD FILE> <PATH TO REPOSITORY>

Apache mod_wsgi

  1. To run using apache mod_wsgi, create the following file and save it as inupypi.wsgi:

    #!/usr/bin/env python
    # -*- coding: utf8 -*-
    
    from inupypi import create_app
    
    config = {'INUPYPI_REPO': '/PATH/TO/REPOSITORY'}
    application = create_app(**config})
    
  2. Add the following Apache configuration to use the above defined wsgi file:

    <VirtualHost *:80>
        ServerName      SERVER_NAME
    
        WSGIScriptAlias / /PATH/TO/inupypi.wsgi
        WSGIDaemonProcess inupypi user=APACHE_USER group=APACHE_GROUP home=/PATH/TO/INUPYPI python-path=/PATH/TO/PYTHON/SITE-PACKAGES/WHERE/INUPYPI/IS/INSTALLED
    
        <Location />
            WSGIProcessGroup inupypi
            WSGIPassAuthorization On
        </Location>
    </VirtualHost>
    

FAQ: Why another pypiserver application ?

  1. We could not find another pypiserver that supported multiple repositories.
  2. We wanted to have templates with our pypi server so that formatting can be easily done.
  3. We had a few ideas where we wanted to bring our pypi server that were not compatible or accepted by one of the pypi server implementations.

TODO

  1. Create automated processes to generate all of the steps above to make the process less manual.
  2. Auto resolving and updating of package versions.

Tests

To run the tests:

sh
  python setup.py test
Release History

Release History

This version
History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3

History Node

0.2.6.4

History Node

0.2.6.3

History Node

0.2.6.2

History Node

0.2.6.1

History Node

0.2.5.6

History Node

0.2.5.5

History Node

0.2.5.4

History Node

0.2.5.3

History Node

0.2.5.2

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
inupypi-0.3.3.tar.gz (188.8 kB) Copy SHA256 Checksum SHA256 Source Jun 22, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting