Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django-sphinx installs django? #8

Open
mlissner opened this issue Apr 5, 2010 · 4 comments
Open

django-sphinx installs django? #8

mlissner opened this issue Apr 5, 2010 · 4 comments

Comments

@mlissner
Copy link

mlissner commented Apr 5, 2010

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
Copy link
Author

mlissner commented Apr 5, 2010

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
Copy link

yeago commented Dec 7, 2010

ummm yeah. david wtf buddy? same here.

@grahamking
Copy link

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
Copy link

yeago commented Feb 28, 2011

david throw us a bone here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants