pip will still install pyside2 even without wheel on pypi
See original GitHub issue🐛 Bug
as mentioned in #1229, it seems that pip pretty much always builds a wheel before installing (even if it downloads source), unless the user specifies --no-cache-dir
… which means that #1059 will not prevent pyside2 from being installed, even after #1215 . If you pip install napari>=0.3.0
, you will probably see it still build a wheel for caching.
You can repeat this locally:
# in napari repo
python setup.py sdist
# in clean environment
pip install path/to/napari/dist/napari-*.tar.gz
...
Building wheels for collected packages: napari
Building wheel for napari (PEP 517) ... done
Created wheel for napari: filename=napari-0.3.0+6.gabe2afd6-py3-none-any.whl...
Stored in directory: ~/Library/Caches/pip/wheels/...
Successfully built napari
...
# and only then does it build
Installing collected packages: ... napari
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
PySide - PyPI
Installing PySide on a Windows System. To install PySide on Windows you can choose from the following options: Use pip to install the...
Read more >install PySide2 on python 2.7 - Stack Overflow
The pip install approach pulls the wheels from the pypi page. If you look at the available wheels for cp27 (Python 2.7), there...
Read more >[#PYSIDE-558] Provide portable PySide2 wheel via pip
You now can build wheels (My answer was actually for Maxim Doucet, sorry). Pip installation will still take a while. I think for...
Read more >Best practices - napari
If they installed napari with pip install napari[all] , then the [all] extra will (currently) install PyQt5 for them from pypi. If they...
Read more >FAQ's — Qiskit Metal 0.1.2 0.1.2 documentation
<env_name>\Scripts\activate python -m pip install ipykernel ipython kernel install ... You will need to download and install the binary wheels from here.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top 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
I asked a question about this on the python packaging forum. Got a very helpful answer there. Long and short of it is that (as far as the responder knew) there’s currently no good way to achieve what we want to do, and he suggested that living with
pip install napari[pyside2]
was probably our best option at this point.He did provide useful links to two other very similar discussions that are going on. This one is particularly similar to what we want… it was mentioned by @ttung back in #704, but bears another look if you missed it the first time.
This was closed by #1324