-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Guidance for packaging packages providing Python bindings #40835
Copy link
Copy link
Open
Labels
2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: pythonPython is a high-level, general-purpose programming language.Python is a high-level, general-purpose programming language.9.needs: documentationThis needs to be documented well.This needs to be documented well.
Metadata
Metadata
Assignees
Labels
2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: pythonPython is a high-level, general-purpose programming language.Python is a high-level, general-purpose programming language.9.needs: documentationThis needs to be documented well.This needs to be documented well.
Fields
Give feedbackNo fields configured for issues without a type.
Issue description
Packages like
kicadandnotmuchare currently rather awkward in that they are C/C++ programs, but provide Python bindings. Currently there is no documentation in thenixpkgsusers guide offering guidance on how these packages should be packaged. Given that these bindings are currently quite hard to use in scripts (requiring that the user manually setPYTHONPATHappropriately), it seems this should change.The documentation should answer this question: How does one package a package such that, for instance,
nix run nixpkgs.notmuch -c python -c 'import notmuch'will actually work?