mesonbuild / mesonbuild/meson-python

pkgconfig files are installed into "site-packages/.*.mesonpy.libs/pkgconfig"

Open
#240 17 comments 0 reactions 0 assignees View on GitHub
distro-packagers
Dominant language
Python
Stars
180
Forks
93
Avg merge
2d 7h
Merged PRs (30d)
18

Description

When the `meson.build` specifies a pkgconfig file, this file gets installed into a weird `.*.mesonpy.libs/pkgconfig` subdirectory of site-packages. This is e.g. happening with [dbus-python](https://pypi.org/project/dbus-python/).

```
$ find .venv | grep pc$
.venv/lib/python3.11/site-packages/.dbus_python.mesonpy.libs/pkgconfig/dbus-python.pc
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the meson.build pkgconfig installation used by dbus-python and reproduce the package layout in a Python 3.11 virtual environment. Trace where the .pc file is placed under site-packages and verify that the completed fix installs it in the expected location rather than under .mesonpy.libs/pkgconfig.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.