Skip to content

Commit 6066b42

Browse files
Ship TRADEMARK.md and SECURITY.md in the share archives too
201add2 fixed the release source zip but left the runtime path untouched: the share archives the tool writes still bundled a bare Apache LICENSE with no trademark reservation. The Dockerfile also had to copy both files into /app, since archiver.py skips anything missing from the working directory and the documented way to run fractum is the container.
1 parent 201add2 commit 6066b42

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM python:3.12.11-slim@sha256:47ae396f09c1303b8653019811a8498470603d7ffefc29cb
22

33
WORKDIR /app
44

5-
COPY setup.py README.md LICENSE bootstrap-linux.sh bootstrap-macos.sh bootstrap-windows.ps1 Dockerfile .dockerignore /app/
5+
COPY setup.py README.md LICENSE TRADEMARK.md SECURITY.md bootstrap-linux.sh bootstrap-macos.sh bootstrap-windows.ps1 Dockerfile .dockerignore /app/
66
COPY src/ /app/src/
77
COPY tests/ /app/tests/
88
COPY packages/ /app/packages/

src/shares/archiver.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def create_share_archive(
5353
("README.md", "README.md"),
5454
("requirements.txt", "requirements.txt"),
5555
("LICENSE", "LICENSE"),
56+
("TRADEMARK.md", "TRADEMARK.md"),
57+
("SECURITY.md", "SECURITY.md"),
5658
("setup.py", "setup.py"),
5759
(".dockerignore", ".dockerignore"),
5860
("Dockerfile", "Dockerfile"),

0 commit comments

Comments
 (0)