• Stars
    star
    175
  • Rank 216,746 (Top 5 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created over 15 years ago
  • Updated about 13 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Please use https://github.com/benliles/chishop

ChiShop/DjangoPyPI

Version: 0.1

Installation

Install dependencies:

$ python bootstrap.py --distribute
$ ./bin/buildout

Initial configuration

$ $EDITOR chishop/settings.py
$ ./bin/django syncdb

Run the PyPI server

$ ./bin/django runserver

Please note that chishop/media/dists has to be writable by the user the web-server is running as.

In production

You may want to copy the file chishop/production_example.py and modify for use as your production settings; you will also need to modify bin/django.wsgi to refer to your production settings.

Using Setuptools

Add the following to your ~/.pypirc file:

[distutils]
index-servers =
    pypi
    local


[pypi]
username:user
password:secret

[local]

username:user
password:secret
repository:http://localhost:8000

Uploading a package: Python >=2.6

To push the package to the local pypi:

$ python setup.py register -r local sdist upload -r local

Uploading a package: Python <2.6

If you don't have Python 2.6 please run the command below to install the backport of the extension:

$ easy_install -U collective.dist

instead of using register and dist command, you can use "mregister" and "mupload", that are a backport of python 2.6 register and upload commands, that supports multiple servers.

To push the package to the local pypi:

$ python setup.py mregister -r local sdist mupload -r local

More Repositories

1

mode

Python AsyncIO Services
Python
237
star
2

python-github2

github client in python, with issues support.
Python
206
star
3

flask-celery

Celery integration for Flask (SINCE CELERY 3.0 THIS IS NO LONGER NEEDED)
Python
201
star
4

carrot

AMQP Messaging Framework for Python (discontinued; Use Kombu instead)
Python
197
star
5

rabbitmq-munin

Munin-plugins for RabbitMQ
Shell
138
star
6

redish

Pythonic interface to redis-py
Python
98
star
7

durian

Webhooks for Django *experimental*
Python
64
star
8

django-kombu

MOVED TO KOMBU CORE: celery/kombu
Python
60
star
9

ghettoq

Ghetto Queue support for Celery/Carrot (discontinued; Use Kombu instead)
Python
60
star
10

ask-vimrc

My personal vim configuration.
Vim Script
20
star
11

flakeplus

additional pyflakes
Python
13
star
12

nosecover3

Coverage 3.x support for Nose
Python
12
star
13

timer2

threading.Timer replacement.
Python
11
star
14

django-sessionstore

Django Cache+DB Session wich uses table rotation for expiry
Python
10
star
15

bundle

Creates and manages Python bundle packages (Like CPAN's Bundles but for Python)
Python
9
star
16

gbsed

Binary Stream Editor (Search/replace/patch binary files) gbsed/libgbsed
8
star
17

ask-gdbinit

My personal gdb configuration
8
star
18

metasyntactic

Python port of the awesome Acme::Metasyntactic
Python
8
star
19

dispatch

django.dispatch for everyone.
Python
7
star
20

kombu-sqlalchemy

Kombu transport using SQLAlchemy as the message store.
Python
7
star
21

literal.py

Python code generation tool
Python
6
star
22

cookiecutter-mode

Create new open source projects using asyncio
Makefile
6
star
23

kamqp

fork of py-amqplib with improvements and experimental features.
Python
6
star
24

multiprocessing2

Multiprocessing2 blue sky improvements
Python
6
star
25

furry

Automatic patching of Mac OS X binaries using recipe files.
Perl
5
star
26

roleplay

Roles/Traits for Python
Python
5
star
27

amqbench

My code to benchmark Python AMQP clients.
Python
4
star
28

ask-profile

My personal shell profile
Shell
4
star
29

pypidl

Download packages from PyPI indexes.
Python
4
star
30

celery-hooks

Renamed to Durian and moved to http://github.com/ask/durian
4
star
31

vcap-service-celery

Celery as a CloudFoundry Service
Ruby
3
star
32

celery-simple-example

Simple example of a distributed task queue with Celery
Python
3
star
33

sphinx2rst

Convert basic Sphinx format to reStructuredText.
Python
2
star
34

faust_sample

Sample code, trying to decompose a faust application into smaller pieces.
Python
2
star
35

cyme-ruby

Celery cyme client for Ruby
Ruby
2
star
36

mroulette

Audiounit Roulette - Random instrument/effect selection, generate Live presets
Python
2
star