conda-forge / pyqt-feedstock

A conda-smithy repository for pyqt.
BSD 3-Clause "New" or "Revised" License
5 stars 36 forks source link

Please include egg-info metadata in installed package #100

Open anntzer opened 3 years ago

anntzer commented 3 years ago

Issue: The pyqt conda package does not install an egg-info metadata directory, which makes pip think that pyqt5 is not installed (so pyqt5 does not show up e.g. in pip list).

While I realize that conda and pip interop may have some rough edges, note that other packages installed by conda typically do offer egg-info metadata (and thus show up in pip list) -- even sip (pyqt's dependency) does.


Environment (conda list): A clean environment created using conda create -p /tmp/env pyqt.

``` $ conda list # packages in environment at /tmp/env: # # Name Version Build Channel _libgcc_mutex 0.1 main ca-certificates 2021.1.19 h06a4308_0 certifi 2020.12.5 py39h06a4308_0 dbus 1.13.18 hb2f20db_0 expat 2.2.10 he6710b0_2 fontconfig 2.13.1 h6c09931_0 freetype 2.10.4 h5ab3b9f_0 glib 2.67.4 h36276a3_1 gst-plugins-base 1.14.0 h8213a91_2 gstreamer 1.14.0 h28cd5cc_2 icu 58.2 he6710b0_3 jpeg 9b h024ee3a_2 ld_impl_linux-64 2.33.1 h53a641e_7 libedit 3.1.20191231 h14c3975_1 libffi 3.3 he6710b0_2 libgcc-ng 9.1.0 hdf63c60_0 libpng 1.6.37 hbc83047_0 libstdcxx-ng 9.1.0 hdf63c60_0 libuuid 1.0.3 h1bed415_2 libxcb 1.14 h7b6447c_0 libxml2 2.9.10 hb55368b_3 ncurses 6.2 he6710b0_1 openssl 1.1.1j h27cfd23_0 pcre 8.44 he6710b0_0 pip 21.0.1 py39h06a4308_0 pyqt 5.9.2 py39h2531618_6 python 3.9.2 hdb3f193_0 qt 5.9.7 h5867ecd_1 readline 8.1 h27cfd23_0 setuptools 52.0.0 py39h06a4308_0 sip 4.19.13 py39h2531618_0 sqlite 3.33.0 h62c20be_0 tk 8.6.10 hbc83047_0 tzdata 2020f h52ac0ba_0 wheel 0.36.2 pyhd3eb1b0_0 xz 5.2.5 h7b6447c_0 zlib 1.2.11 h7b6447c_3 ```


Details about conda and system ( conda info ):

``` $ conda info active environment : None shell level : 0 user config file : /home/antony/.condarc populated config files : /home/antony/.condarc conda version : 4.9.2 conda-build version : not installed python version : 3.7.3.final.0 virtual packages : __glibc=2.33=0 __unix=0=0 __archspec=1=x86_64 base environment : /home/antony/miniconda3 (writable) channel URLs : https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/antony/miniconda3/pkgs /home/antony/.conda/pkgs envs directories : /home/antony/miniconda3/envs /home/antony/.conda/envs platform : linux-64 user-agent : conda/4.9.2 requests/2.25.1 CPython/3.7.3 Linux/5.11.2-arch1-1 arch/rolling glibc/2.33 UID:GID : 1000:100 netrc file : None offline mode : False ```