# HG changeset patch # User Jeff Hammel # Date 1330730503 28800 # Node ID 5fbe4374bc8afd44001f04e9f2c94827cb2b7ef8 # Parent 80915340198628d8567a6019153ad4a3d75f25c7 more documentation diff -r 809153401986 -r 5fbe4374bc8a README.txt --- a/README.txt Fri Mar 02 14:57:06 2012 -0800 +++ b/README.txt Fri Mar 02 15:21:43 2012 -0800 @@ -6,6 +6,25 @@ How simpypi works ----------------- +The heart of simpypi is ``simpypi.wsgi.SimPyPI``, a simple +`WSGI `_ web app that +accepts a uploaded +`python package `_ +distribution and places it according to its name and version metadata +appropriate to the +`simple index protocol `_ . + +For security, ``SimPyPI`` returns straight +`HTTP 400 `_ s +for invalid requests. + +``SimPyPI`` itself does not serve this directory. The directory +should be served by a fileserver that will generate directory indices +(as apprpropriate to +http://guide.python-distribute.org/contributing.html#the-simple-index-protocol +) such as Apache or +`FileServer `_ . + Currently ``simpypi`` only works on source distributions (that is, packages made with ``python setup.py sdist``).