You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,26 @@ One of the following must be specified:
38
38
-`--output-dir`: The output directory for the final zip file. The name of the zip file will be based on the project's
39
39
name in the `pyproject.toml` file (with dashes replaced with underscores).
40
40
41
-
## A Note on Reproducibility
41
+
## Notes on Reproducibility
42
+
43
+
### Timestamps
42
44
43
45
The ZIP files generated adhere with [reproducible builds](https://reproducible-builds.org/docs/archives/). This means that file permissions and timestamps are modified inside the ZIP, such that the ZIP will have a deterministic hash. By default, the date is set to `1980-01-01`.
44
46
45
47
Additionally, the tool respects the standardized `$SOURCE_DATE_EPOCH`[environment variable](https://reproducible-builds.org/docs/source-date-epoch/), which will allow you to set that date as needed.
46
48
47
49
One important caveat is that ZIP files do not support files with timestamps earlier than `1980-01-01` inside them, due to MS-DOS compatibility. Therefore, the tool will throw a `SourceDateEpochError` is `$SOURCE_DATE_EPOCH` is below `315532800`.
50
+
51
+
### Files with embedded full paths
52
+
53
+
In testing, we found that several file types can leak information from the machine that generated the virtual environment.
54
+
55
+
To get around this, the tool removes the following files:
0 commit comments