uv/crates/uv-installer/src
wim glenn 1181aa9be4
Added ability to select bytecode invalidation mode of generated .pyc (#2297)
Since Python 3.7, deterministic pycs are possible (see [PEP
552](https://peps.python.org/pep-0552/))
To select the bytecode invalidation mode explicitly by env var:

    PYC_INVALIDATION_MODE=UNCHECKED_HASH uv pip install --compile ...

Valid values are TIMESTAMP (default), CHECKED_HASH, and UNCHECKED_HASH.
The latter options are useful for reproducible builds.

---------

Co-authored-by: konstin <konstin@mailbox.org>
2024-03-08 17:55:42 +01:00
..
compile.rs Added ability to select bytecode invalidation mode of generated .pyc (#2297) 2024-03-08 17:55:42 +01:00
downloader.rs Rename to `uv` (#1302) 2024-02-15 11:19:46 -06:00
editable.rs Add support for Metadata 2.2 (#2293) 2024-03-08 16:02:32 +00:00
installer.rs Rename `Virtualenv` and `PythonPlatform` structs (#2034) 2024-02-28 15:04:55 +00:00
lib.rs Add an option to bytecode compile during installation (#2086) 2024-03-05 03:35:24 +00:00
pip_compileall.py Added ability to select bytecode invalidation mode of generated .pyc (#2297) 2024-03-08 17:55:42 +01:00
plan.rs Respect local freshness when auditing installed environment (#2169) 2024-03-04 19:40:52 +00:00
site_packages.rs Respect local freshness when auditing installed environment (#2169) 2024-03-04 19:40:52 +00:00
uninstall.rs Rename to `uv` (#1302) 2024-02-15 11:19:46 -06:00