Skip to content

Python-specific QoL improvements #548

@b-rodrigues

Description

@b-rodrigues

If using uv to manage package, automatically add:

shellHook = ''
   # Export LD_LIBRARY is required for python packages that dynamically load libraries, such as numpy 
   export LD_LIBRARY_PATH="${pkgs.lib.makeLibraryPath (with pkgs; [ zlib gcc.cc glibc stdenv.cc.cc ])}":LD_LIBRARY_PATH;
   ...
   '';

add some way to easily add the following shellHook when developing packages:

shellHook = ''
  export PYTHONPATH=$PWD/pyclean/src:$PYTHONPATH
'';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions