3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Eric Culp 90be4c2c78 pythonPackages.setuptools: Remove windows files and make reproducible
- setuptools includes *.exe files by default, but can be excluded with an ENV variable.
- setuptools was built as an egg, which had reproducibility problems. Instead use a wheel

These are various *.exe and *.xml files used only on windows. setuptools
includes them by default since it normally creates a single release for
all operating systems.

This reduces the size from 1020.0K to 801.6K according to `nix-path -sh`.

The egg is a zip file. setuptools leaves timestamps in the egg,
which makes the build unreproducible. Unfortunately the files aren't
compressed so the size of setuptools increases to 2.3M from 0.8M
according to `nix path-info -sh`.

With this change, setuptools is reproducible according to

    nix-build -A python37Packages.setuptools --check
2019-10-14 08:44:43 +02:00
..
applications Merge branch 'staging-next' into staging 2019-10-12 00:51:55 +02:00
build-support makeInitrd: Use stdenvNoCC 2019-10-11 17:12:09 +02:00
common-updater
data Merge branch 'master' into staging-next 2019-10-12 00:50:21 +02:00
desktops Merge branch 'staging-next' into staging 2019-10-12 00:51:55 +02:00
development pythonPackages.setuptools: Remove windows files and make reproducible 2019-10-14 08:44:43 +02:00
games Merge branch 'staging-next' into staging 2019-10-12 00:51:55 +02:00
misc Merge branch 'master' into staging-next 2019-10-12 00:50:21 +02:00
os-specific Merge branch 'staging-next' into staging 2019-10-12 00:51:55 +02:00
servers Merge branch 'staging-next' into staging 2019-10-12 00:51:55 +02:00
shells Merge branch 'staging-next' into staging 2019-10-12 00:51:55 +02:00
stdenv
test
tools Merge branch 'staging-next' into staging 2019-10-12 00:51:55 +02:00
top-level Merge branch 'staging-next' into staging 2019-10-12 00:51:55 +02:00