Skip to content

Commit 85b0d54

Browse files
authored
Create a "build-project" directory
2 parents 06c8024 + 4021f2d commit 85b0d54

File tree

8 files changed

+9
-6
lines changed

8 files changed

+9
-6
lines changed

Diff for: .github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ updates:
99
patterns:
1010
- "*"
1111
- package-ecosystem: "pip"
12-
directory: "/"
12+
directory: "/build-project"
1313
schedule:
1414
interval: "weekly"

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
persist-credentials: false
1717
- name: Build a binary wheel and a source tarball
18-
run: ./build-project.py
18+
run: ./build-project/build-project.py
1919
- name: Store the distribution packages
2020
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
2121
with:

Diff for: MANIFEST.in

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ include README.rst
55
include SECURITY.md
66
include pyproject.toml
77

8-
include build-requirements.in
9-
include build-requirements.txt
10-
include build-project.py
8+
include build-project/build-requirements.in
9+
include build-project/build-requirements.txt
10+
include build-project/build-project.py
11+
include build-project/.python-version
1112

1213
include src/pip/_vendor/README.rst
1314
include src/pip/_vendor/vendor.txt

Diff for: build-project/.python-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

Diff for: build-project.py renamed to build-project/build-project.py

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def main() -> None:
6464
],
6565
check=True,
6666
env={"SOURCE_DATE_EPOCH": get_git_head_timestamp()},
67+
cwd=Path(__file__).parent.parent,
6768
)
6869

6970

File renamed without changes.
File renamed without changes.

Diff for: noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def build_dists(session: nox.Session) -> List[str]:
374374
)
375375

376376
session.log("# Build distributions")
377-
session.run("python", "build-project.py", silent=True)
377+
session.run("python", "build-project/build-project.py", silent=True)
378378
produced_dists = glob.glob("dist/*")
379379

380380
session.log(f"# Verify distributions: {', '.join(produced_dists)}")

0 commit comments

Comments
 (0)