Closed gmloose closed 2 months ago
Looks good! I've tested installing this in a clean ubuntu 22.04 docker.
A bit confusing is the message Building wheels for collected packages: UNKNOWN
. I'm not sure where the UNKNOWN
is from:
Building wheels for collected packages: UNKNOWN
Building wheel for UNKNOWN (pyproject.toml) ... done
Created wheel for UNKNOWN: filename=UNKNOWN-0.4.5.dev14+gdc748f8-cp310-cp310-linux_x86_64.whl size=10057976 sha256=7b331020f3b8a96c6f7aceec13f82f4e7f9180b8dbb43000bc66c3c3adc4465f
Stored in directory: /tmp/pip-ephem-wheel-cache-167l20sq/wheels/6e/03/2c/86eb0e9219107144688a58de67602b28dc16c9357e8f533297
Successfully built UNKNOWN
Installing collected packages: UNKNOWN
Successfully installed UNKNOWN-0.4.5.dev14+gdc748f8
A missing dependency seems to be PySocks
, without it I get
/usr/local/lib/python3.10/dist-packages/RMextract/getIONEX.py
ModuleNotFoundError: No module named 'socks
Looks good! I've tested installing this in a clean ubuntu 22.04 docker.
A bit confusing is the message
Building wheels for collected packages: UNKNOWN
. I'm not sure where theUNKNOWN
is from:Building wheels for collected packages: UNKNOWN Building wheel for UNKNOWN (pyproject.toml) ... done Created wheel for UNKNOWN: filename=UNKNOWN-0.4.5.dev14+gdc748f8-cp310-cp310-linux_x86_64.whl size=10057976 sha256=7b331020f3b8a96c6f7aceec13f82f4e7f9180b8dbb43000bc66c3c3adc4465f Stored in directory: /tmp/pip-ephem-wheel-cache-167l20sq/wheels/6e/03/2c/86eb0e9219107144688a58de67602b28dc16c9357e8f533297 Successfully built UNKNOWN Installing collected packages: UNKNOWN Successfully installed UNKNOWN-0.4.5.dev14+gdc748f8
That shouldn't happen! What Python version are you using? And did you update
pip
before runningpip install
?A missing dependency seems to be
PySocks
, without it I get/usr/local/lib/python3.10/dist-packages/RMextract/getIONEX.py ModuleNotFoundError: No module named 'socks
Hm, did I forget to add
PySocks
? If I recall correctly, it was recently added tosetup.py
, so I thought I had copied it over topyproject.toml
.
I tried to reproduce what you did, but it works for me. I don't get UNKNOWN
as package name, and PySocks
(which is also mentioned in the dependencies
in pyproject.toml
) gets properly installed.
Use
scikit-build
to build the C++ and Fortran extensions. Usepyproject.toml
for all configurations, except for a few settings that must still be done insetup.py
.