[Pypi-checkins] r1021 - trunk/pypi

richard python-checkins at python.org
Wed Mar 14 05:50:37 CET 2012


Author: richard
Date: Wed Mar 14 05:50:36 2012
New Revision: 1021

Added:
   trunk/pypi/testpypi.wsgi
Log:
add test pypi wsgi config

Added: trunk/pypi/testpypi.wsgi
==============================================================================
--- (empty file)
+++ trunk/pypi/testpypi.wsgi	Wed Mar 14 05:50:36 2012
@@ -0,0 +1,12 @@
+#!/usr/bin/python
+import sys, os
+prefix = os.path.dirname(__file__)
+sys.path.insert(0, prefix)
+
+import wsgi_app
+config_path = os.path.join(prefix, 'testpypi-config.ini')
+application = wsgi_app.Application(config_path, debug=True)
+
+if __name__ == '__main__':
+    application.test(8000)
+


More information about the Pypi-checkins mailing list