-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
Need a better way to deal with wheels when using pip #53
Comments
This is a great start, but a slight correction is needed. If an install_arg is passed that requires a second argument, such as For example, this is what gets generated: It gives the following exception:
This could be solved by switching the order of |
+1 to @Ooblioob, I have just run into this problem and came here to report the issue. I'm having to hack my manifests to work around the problem. |
I don't know if it is related, but I have that issue currently on a fresh system install, without using virtualenv, when I use pip:
|
We have some problems when dealing with wheels and pip.
Pip does not support wheels prior to version 1.4.0
Pip wheels require setuptools/distribute > 0.8
Python 2.6 and older does not support setuptools/distribute > 0.8
Pip >= 1.5.0 tries to use wheels by default, even if wheel package is not
installed, in this case the --no-use-wheel flag needs to be passed
Versions prior to 1.4 don't support the --no-use-wheel flag
So depending on the version of pip is installed and if wheel support is available we now have to:
< 1.4.0 no flag
I started working on this on January 2nd when 1.5 was released but I'm still running into issues for some pip versions/cases.
Right now I'm using the following command but there are some cases where it does not work as it should, we need a better way of dealing with this.
"${pip_env} wheel --help > /dev/null 2>&1 && { ${pip_env} wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel'; } ; ${pip_env} --log ${cwd}/pip.log install ${install_args}$wheel_support_flag $ {proxy_flag} ${source}
The text was updated successfully, but these errors were encountered: