Skip to content

Commit 283c9b3

Browse files
committed
chore: fix typos
1 parent 0f05911 commit 283c9b3

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,13 @@ cz bump
280280

281281
The source distribution package ([sdist](https://packaging.python.org/en/latest/discussions/package-formats/#what-is-a-source-distribution)) contains everything needed in order to check, test, and build a binary distribution ([wheel](https://packaging.python.org/en/latest/discussions/package-formats/#what-is-a-wheel)) and its documentation; that is particulalry useful for third-party packaging services that build their own software distribution packages using custom processes.
282282

283-
To build a everything from a source distribution package, simply follow these steps:
283+
To build from a source distribution package, simply follow these steps:
284284

285285
```bash
286-
tar zxvf package.tar.gz # Unpack the tar file.
286+
tar zxvf package.tar.gz # Unpack the sdist tar file.
287287
cd package/
288288
git init # We need this to be a Git repository to run checks.
289+
git add . # Add all files so tools find them via the VCS.
289290
```
290291

291292
We do need to initialize the package folder as a Git repository to ensure the Makefile is able to call various checkers via hooks. Once done, we can use `make` as before:
@@ -294,7 +295,7 @@ We do need to initialize the package folder as a Git repository to ensure the Ma
294295
SKIP=check-hooks-apply,check-useless-excludes,actionlint make dist
295296
```
296297

297-
Note that we skip Git hooks that are unnecessary when building from the source distribution. As above, this builds both the source package and a binary distribution, and stores them in the `dist/` folder. In addition, as expected, setting the `SOURCE_DATE_EPOCH` environment variable to the build epoch value of the original sdist and wheel build results in the bit-exact same binary distribution package!
298+
Note that we skip Git hooks that are unnecessary when building from the source distribution. As above, this builds the source package and a binary distribution, and stores both in the `dist/` folder. And, as expected, setting the `SOURCE_DATE_EPOCH` environment variable to the build epoch value of the original sdist and wheel build results in the bit-exact same binary distribution package!
298299

299300
## Build integrity using SLSA framework
300301

0 commit comments

Comments
 (0)