Skip to content

Add ability to configure python using python3-config - #47

Merged
Shimuuar merged 9 commits into
masterfrom
python3-config
Aug 23, 2026
Merged

Add ability to configure python using python3-config#47
Shimuuar merged 9 commits into
masterfrom
python3-config

Conversation

@Shimuuar

Copy link
Copy Markdown
Owner

This is done using cabal flag. And it seems only possible using custom Setup.hs

Fixes #39

This allows to build inline-python with python provided by conda/uv/etc
since they provide python3-config but not pkg-config

Idea is to hide it behind cabal flag but so far it works unconditionally

Sublibrary has ot be dropped. Custom build doesn't work with it
@Shimuuar
Shimuuar force-pushed the python3-config branch 3 times, most recently from 83d3766 to e609aa0 Compare August 23, 2026 13:45
Latter is just too painful to support with custom setup. Types used by Cabal are
not reexports from Cabal-syntax yet
@Shimuuar
Shimuuar merged commit 102845d into master Aug 23, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to work with Python packages via e.g. venvs, uv, or conda?

1 participant