dcramer / django-sphinx

A transparent layer for full-text search using Sphinx and Django
http://groups.google.com/group/django-sphinx
BSD 3-Clause "New" or "Revised" License
357 stars 122 forks source link

django-sphinx installs django? #8

Open mlissner opened 14 years ago

mlissner commented 14 years ago

I am using the trunk version of django-sphinx on the development version of django, and looking through the install log for django-sphinx, there is some strange stuff.

I installed with: sudo python setup.py install

Which I suppose handles dependencies. In my case, it installed django, even though I already had it installed: Processing dependencies for django-sphinx==2.2.3 Searching for django Reading http://pypi.python.org/simple/django/ Reading http://www.djangoproject.com/ Reading http://www.djangoproject.com/download/1.0.1-beta-1/tarball/ Best match: Django 1.1.1 Downloading http://media.djangoproject.com/releases/1.1.1/Django-1.1.1.tar.gz Processing Django-1.1.1.tar.gz

This is quite frustrating since, I really don't care to learn how the install works, but now I have to look through it and see how I can uninstall django.

No idea if this is the fault of django-sphinx, but it's very frustrating.

mlissner commented 14 years ago

I should add that I'm lucky that my code threw an error, since otherwise I might not notice that my underlying django version had changed.

yeago commented 13 years ago

ummm yeah. david wtf buddy? same here.

grahamking commented 13 years ago

It's because of this line in setup.py:

install_requires=['django'],

I agree that it's a hassle, and it would be nice if it could be removed. If someone is installing a package called "django-sphinx" they are unlikely to not have django yet.

With pip 0.5+ you can ignore dependencies:

pip install --no-deps -e git+https://github.com/dcramer/django-sphinx.git#egg=django-sphinx
yeago commented 13 years ago

david throw us a bone here!