DjangoPyPI

A Django application that emulates the Python Package Index
Download

DjangoPyPI Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Benjamin Liles
  • Publisher web site:
  • http://code.google.com/u/benliles/

DjangoPyPI Tags


DjangoPyPI Description

A Django application that emulates the Python Package Index DjangoPyPI is a Django application that provides a re-implementation of the Python Package Index (PyPI).Installation:PathThe first step is to get djangopypi into your Python path.BuildoutSimply add djangopypi to your list of eggs and run buildout again it should downloaded and installed properly.EasyInstall/SetuptoolsIf you have setuptools installed, you can use easy_install djangopypiManualDownload and unpack the source then run:python setup.py installDjango SettingsAdd djangopypi to your INSTALLED_APPS setting and run syncdb again to get the database tables .Then add an include in your url config for djangopypi.urls:urlpatterns = patterns("", ... url(r'', include("djangopypi.urls")))This will make the repository interface be accessible at /pypi/.Uploading to your PyPI:Assuming you are running your Django site locally for now, add the following to your ~/.pypirc file:index-servers = pypi localusername:userpassword:secretusername:userpassword:secretrepository:http://localhost:8000/pypiUploading a package: Python >=2.6To push the package to the local pypi:python setup.py register -r local sdist upload -r localUploading a package: Python < 2.6If you don't have Python 2.6 please run the command below to install the backport of the extension for multiple repositories:easy_install -U collective.distInstead of using register and dist command, you can use mregister and mupload which 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 djangopypi is South enabled, if you are using South then you will need to run the South migrate command to get the tables. Requirements: · Python · Django What's New in This Release: · Added conditional support for django-haystack searching


DjangoPyPI Related Software