That was the problem. Doing a `python setup.py register` solved it.


On 4 February 2015 at 11:22, Florian Schulze <florian...@gmx.net> wrote:
On 3 Feb 2015, at 13:49, Andrew Smith wrote:

I am trying to upload using setuptools but I get an error. Is DevPi
supposed to support a setuptools upload or should I be using devpi for this?

The command:

python setup.py egg_info --tag-build=-r100 bdist_egg --exclude-source-files
upload -r pypi

Where pypi points to the devpi repo in our .pypirc

And the error:

Submitting dist/libutil-1.0.post1-py2.7.egg to
Upload failed (400): no project named u'libutil' was ever registered

Is there a way to have projects "automatically" register?

We use the same workflow as pypi, so you have to use

python setup.py register

first. That also updates the readme etc.

If you use devpi upload, then the registration is done automatically.

Florian Schulze

Andy Smith