Determine what should be done about --(install|global)-option with Wheels
See original GitHub issueCurrently 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:
- Created 8 years ago
- Reactions:6
- Comments:36 (24 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 to
--install-scripts
for wheelsI 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.