Metadata-Version: 2.4
Name: djangopypi
Version: 0.4.7
Summary: A Django application that emulates the Python Package Index.
Home-page: http://github.com/benliles/djangopypi
Author: Ask Solem
Author-email: askh@opera.com
Maintainer: Benjamin Liles
Maintainer-email: benliles@gmail.com
License: BSD
Keywords: django pypi packaging index
Classifier: Framework :: Django
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Environment :: Web Environment
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: BSD License
Classifier: Topic :: System :: Software Distribution
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
License-File: LICENSE
License-File: AUTHORS.rst
Requires-Dist: setuptools
Requires-Dist: pkginfo
Requires-Dist: docutils
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: maintainer
Dynamic: maintainer-email
Dynamic: requires-dist
Dynamic: summary

DjangoPyPI
==========

DjangoPyPI is a Django application that provides a re-implementation of the 
`Python Package Index <http://pypi.python.org>`_.  

Installation
------------

Path
____

The first step is to get ``djangopypi`` into your Python path.

Buildout
++++++++

Simply add ``djangopypi`` to your list of ``eggs`` and run buildout again it 
should downloaded and installed properly.

EasyInstall/Setuptools
++++++++++++++++++++++

If you have setuptools installed, you can use ``easy_install djangopypi``

Manual
++++++

Download and unpack the source then run::

    $ python setup.py install

Django Settings
_______________

Add ``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::

    [distutils]
    index-servers =
        pypi
        local

    [pypi]
    username:user
    password:secret

    [local]
    username:user
    password:secret
    repository:http://localhost:8000/pypi/

Uploading a package: Python >=2.6
_________________________________

To push the package to the local pypi::

    $ python setup.py register -r local sdist upload -r local


Uploading a package: Python <2.6
________________________________

If 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.dist

Instead 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.

History
=======

0.4.7 (2015-10-27)
------------------

* bug fix to conform to new distutils http upload format

0.4.6 (2015-10-26)
------------------

* DO NOT USE THIS VERSION
* thought I had solved the distutils issue but was wrong
  md5 has error when downloading the package

0.4.5 (2015-10-13)
------------------

* DO NOT USE THIS VERSION
* thought I had solved the distutils issue but was wrong
  database error for md5 hash length upon upload

0.4.4 (2012-04-18)
------------------

* xmlrpc bug fixes
* CSRF token template tags on forms
* Transaction bug fixes
* Switched to logging over stdout
* Proxy simple and detail views when necessary
* Removed unused legacy view, submit_package_or_release
* ppadd management command working again

0.4.3 (2011-02-22)
------------------

* Moved xmlrpc views into views folder
* Moved xmlrpc command settings to the settings file
* Cleaned up xmlrpc views to remove django.contrib.sites dependency

0.4.2 (2011-02-21)
------------------

* Added CSRF support for Django>=1.2
* Added conditional support to proxy packages not indexed

0.4.1 (2010-06-17)
------------------

* Added conditional support for django-haystack searching

0.4 (2010-06-14)
----------------

* 'list_classifiers' action handler
* Issue #3: decorators imports incompatible with Django 1.0, 1.1
* RSS support for release index, packages
* Distribution uploads (files for releases)

0.3.1 (2010-06-09)
------------------

* Installation bugfix

0.3 (2010-06-09)
----------------

* Added DOAP views of packages and releases
* Splitting djangopypi off of chishop
* Switched most views to using django generic views

Backwards incompatible changes
______________________________

* Refactored package/project model to support multiple owners/maintainers
* Refactored release to match the metadata only that exists on pypi.python.org
* Created a Distribution model for distribution files on a release

0.2.0 (2009-03-22)
------------------

* Registering projects and uploading releases now requires authentication.
* Every project now has an owner, so only the user registering the project can 
  add releases.
* md5sum is now properly listed in the release link.
* Project names can now have dots ('.') in them.
* Fixed a bug where filenames was mangled if the distribution file already existed.
* Releases now list both project name and version, instead of just version in the admin interface.
* Added a sample buildout.cfg. Thanks to Rune Halvorsen (runeh@opera.com).

Backwards incompatible changes
______________________________

* Projects now has an associated owner, so old projects must be exported and 
  imported to a new database.

0.1.0 (2009-03-22)
------------------

* Initial release


Authors/Contributors
--------------------

* Ask Solem <askh@opera.com>
* Rune Halvorsen <runeh@opera.com>
* Russell Sim <russell.sim@gmail.com>
* Brian Rosner <brosner@gmail.com>
* Hugo Lopes Tavares <hltbra@gmail.com>
* Sverre Johansen <sverre.johansen@gmail.com>
* Bo Shi <bs@alum.mit.edu>
* Carl Meyer <carl@dirtcircle.com>
* Vinícius das Chagas Silva <vinimaster@gmail.com>
* Vanderson Mota dos Santos <vanderson.mota@gmail.com>
* Stefan Foulis <stefan.foulis@gmail.com>
* Michael Richardson <michael@michaelrichardson.me>
* Benjamin Liles <benliles@gmail.com>
* Halldór Rúnarsson <halldor89@gmail.com>
* Jannis Leidel <jannis@leidel.info>
* Sebastien Fievet <zyegfryed@gmail.com>
* Jaap Roes <jaap@u-e-h.net>
* Stefano Rivera <stefano@rivera.za.net>
* David Miller <david@deadpansincerity.com>
* Tomasz Wysocki
