#PyCXX

mgorny-nyan (on) :autism:🙀🚂🐧mgorny@pol.social
2025-03-26

Na kanwie mema z dominem:

1. #setuptools zaczyna normalizować nazwy plików archiw binarych, w zgodzie z PEP 491.

n. #PyCXX nagle zaczyna instalować nagłówki w `/usr/include/python*/cxx` zamiast `CXX` (wielkimi literami).

Co ciekawe, problem dotyka zarówno paczek #pip i #installer. Krótko mówiąc, ścieżka instalacji nagłówków używa "nazwy dystrybucji", i wygląda na to, że w obydwu przypadkach nazwa ta pobierana jest z nazwy pliku. Nie wiem, czy to błąd, ale myślę, że zgłoszę, na wszelki wypadek. W installerze nawet jest notatka, wskazująca, że autor nie był pewny, czy używać oryginalnej, czy znormalizowanej nazwy.

discuss.python.org/t/installin

#Python

mgorny-nyan (he) :autism:🙀🚂🐧mgorny@treehouse.systems
2025-03-26

Domino meme:

1. #setuptools starting to finally normalize wheel filenames per PEP 491.

n. #PyCXX suddenly installing header files into `/usr/include/python*/cxx` instead of uppercase `CXX`.

Funny enough, it affects both #pip and #installer. Long story short, the include install path uses "distribution name", and in both cases the distribution name is apparently taken from the filename. Not sure if this is a bug or a feature, but I guess i'll file bugs. Installer even has a TODO item to determine whether they should be using original or normalized name.

discuss.python.org/t/installin

#packaging #Python

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst