-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
weird errors when "pip install django-salesforce" #19
Comments
This error is a mystery to me as well, though it is not only limited to django-salesforce and seems to be environment dependent as you've seen. I found an SO where someone is theorizing it's a bug in Setuptools 1.0+ http://stackoverflow.com/questions/18085571/pip-install-error-setup-script-specifies-an-absolute-path |
Okay, so, I think I found the issue. It's definitely a bug in setuptools; however, because we're also using setuptools_git to recognize which files need to go in the resulting build/archive, we can remove the problem line. Basically, by removing "include_package_data=True" from setup.py (e3fd4dc) it seems to fix the issue. I was getting the same error in a fresh env, and now I'm not, so I'm hoping this works for you. I've uploaded version v0.2.0.1 to pypi, so you should be able to just retry the install. Before doing so, I'd remove the 'build' dir that's inside your virtualenv directory, though. |
Awesome! I was able to install 0.2.0.1 without any issues. @philchristensen, thanks for your quick help! |
Great! |
WOW thanks |
My project layout looks something like this:
When I try to "pip install django-salesforce" (with activated virtualenv), I get errors like this:
This happens as long as there is anything in
project_directory
other thanenv
. Even hidden folders and files like.git
and.gitignore
cause the exception above.I'm not really grokking your setup.py, so I have no idea what causes this. But I haven't seen this error with any other package.
The text was updated successfully, but these errors were encountered: