summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik
diff options
context:
space:
mode:
authorJairo Llopis <yajo.sk8@gmail.com>2023-05-02 13:38:52 +0100
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2023-05-11 09:15:48 +0200
commitbff6c67911ed74cf560bd2b00fb1da32bd2fed63 (patch)
treeb79a89301350809ebe52e44663724e44a9b8159d /pkgs/development/python-modules/python-mapnik
parente6a40d6f7c507055679f4d65a7c647fb56636ab1 (diff)
python.pipInstallHook: avoid producing wrong direct_url.json file
When installing many python packages, a `direct_url.json` file appeared in the lib directory. Example: ```sh ➤ nix build nixpkgs/29755fec55e58a315b517d431b2be261772f2b80#python3Packages.flask ➤ cat result/lib/python3.10/site-packages/Flask-2.2.3.dist-info/direct_url.json {"archive_info": {}, "url": "file:///build/Flask-2.2.3/dist/Flask-2.2.3-py3-none-any.whl"}⏎ ``` As you can see, that file contains a wrong reference to `/build`. In https://discuss.python.org/t/pep-610-usage-guidelines-for-linux-distributions/4012/4 there's an explanation on how to avoid this. Here, I'm implementing that change for nixpkgs. @moduon MT-1075
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions