Skip to main content

A PyPiServer based on the Flask Framework and supports multiple repositories.

Project description

inetutils PyPI Server Project

To run in command line:

  1. To install:

    pip install inupypi
  2. create config.ini with the following content:

    DEBUG = True
    INUPYPI_REPO = '<FULL PATH TO EGG BASKETS PARENT DIRECTORY>'
  3. run inupypi_server:

    . <virtualenv_path>/bin/activate
    inupypi_server -c <path_to_config_ini_file>

To run inupypi under apache mod_wsgi:

  1. Install inupypi:

    pip install inupypi
  2. create config.ini with the following content (This will not be necessary once configure distcmd is done):

    DEBUG = False
    INUPYPI_REPO = '<FULL PATH TO INUPYPI REPO>'
  3. edit and then save the httpd-inupypi.conf.sample into httpd’s conf directory and ensure it’s being included in httpd.conf

  4. start / restart your apache and browse to http://httpd_host/inupypi

Why another pypiserver application ?

  1. We could not find another pypiserver that supported multiple eggbaskets.

  2. We wanted to have templates with our pypiserver so that formatting can be easily done.

  3. We had a few ideas where we wanted to bring our pypiserver that were not compatible or accepted by current pypiserver implementations.

TODO

  1. Create automated processes to generate all of the steps above to make the process less manual

Tests

To run the tests:

1. python setup.py develop

2. export export INUPYPI_SETTINGS=<full path to config.ini>

3. python setup.py test

Build Status (Travis CI)

[![Build Status] (https://travis-ci.org/hallaj/inupypi.png)] (https://travis-ci.org/hallaj/inupypi)

Project details


Download files

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

Source Distribution

inupypi-0.2.6.3.tar.gz (8.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page