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

django-sphinx installs django?

Open mlissner opened this issue 15 years ago • 4 comments

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 avatar Apr 05 '10 03:04 mlissner

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.

mlissner avatar Apr 05 '10 03:04 mlissner

ummm yeah. david wtf buddy? same here.

yeago avatar Dec 07 '10 02:12 yeago

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

grahamking avatar Feb 25 '11 01:02 grahamking

david throw us a bone here!

yeago avatar Feb 28 '11 17:02 yeago