summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-sql
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-03-03 17:14:09 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-03-03 17:14:09 +0100
commit03e54c5e8831def65208e65886e6e7afbfc29bb8 (patch)
tree8254607d0786b248e3748af0068cf857dbfb7d2e /pkgs/development/python-modules/python-sql
parentb98e1601ddb7fed04245e49faa5aa4add33cd3d1 (diff)
Python: introduce toPythonApplication function
This commit introduces the `toPythonApplication` function. Certain Python packages are considered both a library and an application, that is, they expose importable modules, but typically executables that are part of the package are used instead. In this case, the package needs to be added to `python-packages.nix` in order for it to be available as a library. An alias with this function can then be added in `all-packages.nix`, e.g.: ``` ansible = with pythonPackages; toPythonApplication ansible; ```
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
0 files changed, 0 insertions, 0 deletions