GitXplorerGitXplorer
t

pydotorg.pypi

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
be77d8853ebee5c58dd3562677974d4d82bd5644

In debug mode log messages to console (fixes issue #7)

ttechtonik committed 13 years ago
Unverified
ce34f1d85a3a2de15141eb9c3b90546dd7e5f448

cElementTree is included since Python 2.5, which is also a

ttechtonik committed 13 years ago
Unverified
77ee2da24d58b9895ad0a1859e95eea323d6b746

Double doc size limit.

lloewis committed 13 years ago
Unverified
b1085c7aaadca6cdc9a5cdd44c8fb0410ab37759

Also use description to nuke nested lists packages.

lloewis committed 13 years ago
Unverified
a4d663bde13b6ea325d6bee4b0ed45329b5f2213

Add more dependencies. Fixes #6 on https://bitbucket.org/loewis/pypi.

lloewis committed 13 years ago
Unverified
c10b8f8f3659b5061717b301601793a3c64fddda

Add sentry section. Fixes #4 on https://bitbucket.org/loewis/pypi.

lloewis committed 13 years ago

README

The README file for this repository.

Required packages

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

  • zope.interface
  • zope.pagetemplate
  • zope.tal
  • zope.tales
  • zope.i18nmessageid
  • psycopg2 (for testing, sqlite3 might be sufficient)
  • docutils
  • M2Crypto
  • distutils2
  • python-openid
  • raven

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, initially copying from config.ini.template. 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 zope.interface zope.pagetemplate
$ bin/easy_install zope.tal zope.tales zope.i18nmessageid psycopg2
$ bin/easy_install docutils M2Crypto python-openid raven

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

Database Setup

To fill a database, run pkgbase_schema.sql on an empty Postgres database. Then run tools/demodata to populate the database with dummy data.

For testing purposes, run tools/mksqlite to create packages.db. Set [database]driver to sqlite3, and [database]name to packages.db, then run tools/demodata to populate the database.