Comment 2 for bug 942369

Revision history for this message
Domen Kožar (ielectric+) wrote :

Foolish of me taking for granted everyone knows buildout. Steps to reproduce:

echo "
[buildout]
parts = install
eggs-directory = eggs

[install]
recipe = zc.recipe.egg
eggs =
    mysql-connector
" > buildout.cfg
wget http://python-distribute.org/bootstrap.py
python bootstrap.py
bin/buildout

Fix is pretty easy. Make sure package is correctly named and has sane version in setup.py, currently that would be:

..
name = mysql-connector,
version = '0.3.2',
...

then upload package to pypi (this will strip "dev" from version, create source tarball, register package on pypi and upload it there):

python setup.py egg_info -RDb "" sdist register upload