Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    DjangoPyPI 0.4.3

    Download button

    No screenshots available
    Downloads: 300  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Benjamin Liles | More programs
    BSD License / FREE
    September 4th, 2011, 15:41 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    DjangoPyPI description

    A Django application that emulates the Python Package Index

    DjangoPyPI is a Django application that provides a re-implementation of the Python Package Index (PyPI).

    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 [1].

    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

    [1] djangopypi is South enabled, if you are using South then you will need to run the South migrate command to get the tables.

    Product's homepage

    Requirements:

    · Python
    · Django

    What's New in This Release: [ read full changelog ]

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

      


    TAGS:

    Python Package Index | PyPI emulator | Django | PyPI | emulator

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM