dcramer / django-devserver

A drop-in replacement for Django's runserver.
BSD 3-Clause "New" or "Revised" License
1.27k stars 158 forks source link

Wrong (?) pip URL #9

Open ulope opened 14 years ago

ulope commented 14 years ago

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.

priestc commented 14 years ago

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

ulope commented 14 years ago

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

dcramer commented 14 years ago

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.

ulope commented 14 years ago

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