Skip to content

geetarista/fondu

Repository files navigation

Fondu Build Status

Fondu is a CheeseShop server powered by Go.

Features

  • Cache packages from PyPi in case of failure
  • Install packages faster inside your network
  • Store private packages
  • easy_install/pip compliant
  • setup.py register/upload compatible

Installation

Just download the binary for your platform.

Please note that so far the only platforms I've tested on are darwin-amd64 and linux-amd64. If you have any platform-specific problems, please file an issue so I can investigate.

Usage

To start Fondu, all you have to do use the fondu command.

Configure

You can pass Fondu a few flags to override settings:

-d Overrides the directory to store data. Default: data

-p The port for Fondu to listen on. Default: 3638

-m The pypi mirror to use. Default: http://pypi.python.org

Example:

fondu -d /data/fondu -p 8363 -m http://pypi.example.com

Uploading

For registering/uploading packages, you need to tell distutils where to look in pypirc:

[distutils]
index-servers =
  fondu

[fondu]
username = foo
password = bar
repository = http://your-host:3638/

Or you can just set it using a flag to sdist or an environment variable:

python setup.py sdist upload -r http://your-host:3638/
export PIP_INDEX_URL=http://your-host:3638/simple/ python setup.py sdist upload

Note that username and password can be passed to pip, but fondu does not support authentication at this time.

Demo

See the demo directory for information on how to use Vagrant to run Fondu locally.

License

MIT. See LICENSE.