Search code examples
pythondjangopypi

I can't distribute own package


A month ago I made own django widget for a form field. Today it registered into PyPI by me:

python setup.py register

I use pip and right off checked it:

$ pip search django-split-json-widget
django-split-json-widget  - Provides a widget that renders JSON data as separate, editable inputs.

but I can't install my widget:

$ pip install django-split-json-widget
Downloading/unpacking django-split-json-widget
  Could not find any downloads that satisfy the requirement django-split-json-widget
No distributions at all found for django-split-json-widget
Storing complete log in /Users/apple/.pip/pip.log

$ pip freeze
Django==1.5.1
Pygments==1.6
chromelogger==0.3.0
distribute==0.6.40
ipython==0.13.2
jsonpickle==0.4.0
psycopg2==2.5
pudb==2013.1
requests==1.2.0
urwid==1.1.1
wsgiref==0.1.2

Anybody can help me understand it and solve these causes?


Solution

  • You only registered your package, but did not upload anything.

    Run python setup.py sdist upload to do so; for a pure python package a source distribution is all you need.

    You may want to read the PyPI howto for more details.