Hi,

I investigated a little ;-).

From what I understand flit tries to use a relative path in the RECORD file [1] but that doesn't seem to work always. So my idea would be to strip the build path from the resulting RECORD file directly in the install_directly() function at [2]. Not entirely sure how to get the path of the file, but you probably have am idea ;-) BTW: This is how flit does it [3].

Best regards
Philip



[1] https://github.com/takluyver/flit/blob/master/flit/install.py#L404

[2] https://salsa.debian.org/python-team/tools/dh-python/-/blob/master/dhpython/build/plugin_flit.py#L78

[3] https://github.com/takluyver/flit/blob/master/flit/install.py#L356-L359

Reply via email to