-
Notifications
You must be signed in to change notification settings - Fork 26
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
Can't install if Django isn't already installed #14
Comments
@LegoStormtroopr what would you like to see changed? Want to issue a PR? |
Part of the problem is in
which itself imports django on line 1:
Thus, on setup it fails if Django isn't already installed. I'm not sure how you'd want to fix this, but the choices I can see are either:
|
Looks like this is a bigger issue with Tox in general -> tox-dev/tox#42. |
I disagree with that assessment. The screen shot shows I can replicate this using just plain pip without tox. I can't see a reason for I've offered a couple of ways to resolve this. Either way, this is a cool library and I'd love to be able to use it more, but this issue is a blocker for me. |
@LegoStormtroopr thoughts on using
|
Instead of importing |
It is arguable if this is a Tox issue, as deps is just calling pip with all the deps and from pips viewpoint it's not a bug, but an implementation detail. There is a pretty painless workaround though for things like this (unless I am missing something), which is now mentioned in the tox issue and which hopefully finds its way into the docs at some point. |
I just saw that @LegoStormtroopr said the same thing ... sorry. |
Fixed! Thanks @inglesp! Just hard coded the version to the setup.py file. |
Thanks! :) |
If you try to install django-slowtests before django is installed, it fails. This makes it difficult to include in a tox script when django and django-slowtests are installed concurrently.
The text was updated successfully, but these errors were encountered: