question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Determine what should be done about --(install|global)-option with Wheels

See original GitHub issue

Currently pip has --install-option and --global-option to make it possible to pass flags to the setup.py invocation. However these currently get ignored completely when installing from Wheel. This previously wasn’t a big deal because commonly these options are only used for compiled packages and those often don’t have Wheels on the platforms you might need these options on. However now in pip 7.0 via #2618 we now attempt to automatically build wheels for all projects. This means that, assuming we can build a wheel, these options are just completely ignored.

So what do we do with these options? Do we make their use imply --no-use-wheel? Do we attempt to convert them? Get rid of them?

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:6
  • Comments:36 (24 by maintainers)

github_iconTop GitHub Comments

8reactions
JordonPhillipscommented, Jan 9, 2019

+1 to --install-scripts for wheels

7reactions
pisymbolcommented, Feb 26, 2018

I too have now ran into this (or at least something similar).

I need ‘wheel install-scripts’ to be able to install to a custom path. Right now, it zonks the script wrapper always in ‘/usr/bin’ without the ability to change the prefix path.

Is there really no way to have console scripts post wheel install to a custom path? I can certainly do this with eggs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Are Python Wheels and Why Should You Care?
In this tutorial, you'll learn what Python wheels are and why you should care as both a developer and end user of Python...
Read more >
pip wheel - pip documentation v22.3.1
Extra global options to be supplied to the setup.py call before the install or bdist_wheel command. --pre#. Include pre-release and development versions. By ......
Read more >
Installing a .whl Python package into a specific directory other ...
UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options. It appears that I can't install WHL...
Read more >
Options - cibuildwheel - Read the Docs
.github/workflows/*.yml (docs) (can be global, in job, or in step) ... Install your wheel for testing using extras_require. CIBW_TEST_SKIP.
Read more >
Commands | Documentation | Poetry - Python dependency ...
--lock : Do not perform install (only update the lockfile). Note. When --only is specified, --with and --without options are ignored.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found