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
http://pypiregistry.company:81/company/dev/
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.
Regards,
Florian Schulze