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

Replace --no-use-wheel to --no-binary #42

Merged
merged 2 commits into from
Apr 2, 2018

Conversation

perce7al
Copy link
Contributor

@perce7al perce7al commented Apr 2, 2018

Actual behaviour

pip:7.0.0 (2015-05-21): --no-use-wheel and --use-wheel are deprecated in favour of new options --no-binary and --only-binary.

The beta release pip:10.0.0b1 (2018-04-31) do not have --no-use-wheel already:

$ ./setup.sh -p angr
[+] Enabling virtualenvwrapper.
[+] Creating pypy virtualenv angr...
Requirement already up-to-date: pip in /home/y0ngdi/.virtualenvs/angr/site-packages (10.0.0b1)
[+] Cloning angr components!
...
Successfully installed simuvex
Cleaning up...
[+] Installing some other helpful stuff (logging to /tmp/setup-1).

Usage:   
  pip install [options] <requirement specifier> [package-index-options] ...
  pip install [options] -r <requirements file> [package-index-options] ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

no such option: --no-use-wheel

What is the new behavior?

--no-use-wheel option has been replaced to --no-binary.

@rhelmot
Copy link
Member

rhelmot commented Apr 2, 2018

since this is just to install a single package it should probably just be --no-binary keystone-engine :P

@perce7al
Copy link
Contributor Author

perce7al commented Apr 2, 2018

@rhelmot, pip install -I --no-binary keystone-engine keystone-engine looks a bit strange... like someone inserted argument twice accidentally. Should I change it?

@rhelmot
Copy link
Member

rhelmot commented Apr 2, 2018

It looks like you can do --no-binary=keystone-engine keystone-engine. Do that!

Thanks for your commitment to readability :)

@perce7al perce7al changed the title Replace --no-use-wheel to --no-binary :all: Replace --no-use-wheel to --no-binary Apr 2, 2018
@rhelmot rhelmot merged commit b7d9285 into angr:master Apr 2, 2018
@perce7al perce7al deleted the fix-pip-install-error branch April 2, 2018 19:07
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

Successfully merging this pull request may close these issues.

2 participants