Source

pypi-metadata /

Filename Size Date modified Message
doc
pydotorg
store
templates
tests
tools
utils
webui
213 B
1.7 KB
1.4 KB
3.2 KB
208 B
1.1 KB
953 B
0 B
5.4 KB
3.7 KB
739 B
238 B
696 B
1.8 KB
123 B
19.6 KB
4.0 KB
833 B
25.5 KB
11.5 KB
1.8 KB
3.0 KB
1.9 KB
1.9 KB
1.9 KB
10.7 KB
4.7 KB
1.2 KB
650 B
4.0 KB
8.6 KB
19.3 KB
1.6 KB
1.7 KB
3.3 KB
1.7 KB

Required packages

To run the PyPI software, you need PostgreSQL, and all these packages located at PyPI:

  • cElementTree
  • zope.interface
  • zope.pagetemplate
  • zope.tal
  • zope.tales
  • zope.i18nmessageid
  • psycopg2
  • M2Crypto
  • BeautifulSoup
  • docutils
  • distutils2

Quick development setup

Make sure you read http://wiki.python.org/moin/CheeseShopDev#DevelopmentEnvironmentHints and you have a working PostgreSQL DB.

Make sure your config.ini is up-to-date. Change CONFIG_FILE at the begining of pypi.wsgi, so it looks like this:

CONFIG_FILE = 'config.ini'

Then, you can create a development environment like this, if you have virtualenv installed:

$ virtualenv --no-site-packages --distribute .
$ bin/easy_install cElementTree zope.interface zope.pagetemplate
$ bin/easy_install zope.tal zope.tales zope.i18nmessageid psycopg2
$ bin/easy_install  M2Crypto BeautifulSoup docutils

Then you can launch the server using the pypi.wsgi script:

$ bin/python pypi.wsgi
Serving on port 8000...

PyPI will be available in your browser at http://localhost:8000