django-devserver icon indicating copy to clipboard operation
django-devserver copied to clipboard

Wrong (?) pip URL

Open ulope opened this issue 15 years ago • 4 comments

IMHO the pip install url should read:

pip install git+git://github.com/dcramer/django-devserver#egg=django_devserver

instead of

pip install git+git://github.com/dcramer/django-devserver#egg=django-devserver

note the "_" in django_devserver.

With the "-" I get weird errors from pip when used in requirement files.

ADDITION: To trigger the bug(?) you also need to have django (with snv://....#egg=django) in the same requirements file. It seems pip splits on "-" and then assumes django-devserver and django are the same thing.

ulope avatar Feb 12 '10 17:02 ulope

When I installed it, I got an error, but I added -e before the url and it worked fine with the "-"

priestc avatar Feb 13 '10 07:02 priestc

See my addition above. I forgot to mention that in the initial report.

ulope avatar Feb 13 '10 15:02 ulope

Ah that's why I never noticed it before. Going to hit up the pip guys to see if this is a bug, but ill update the readme.

dcramer avatar Feb 16 '10 20:02 dcramer

Something really strange is going on here. Today while updating my default django pip requirements file to include devserver I noticed that I have 5 other sources (besides devserver) in there that all use the "django-[something]" naming pattern.

They all work flawless. However as soon as I add django-devserver pip complains about the duplicate django package.

Here is my requirements file (the top one breaks, the bottom one works for me): http://gist.github.com/309010

ulope avatar Feb 19 '10 18:02 ulope