Skip to content

Commit a9f5813

Browse files
Update project_publishing.md
1 parent a517307 commit a9f5813

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

episodes/project_publishing.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -30,40 +30,40 @@ We need to install the following tools i.e. `build` and `twine`
3030

3131
`build` :A tool to read the `pyproject.toml` file and build the package files
3232

33-
```bash
34-
pip install build
35-
```
33+
```bash
34+
pip install build
35+
```
3636
37-
```output
38-
Collecting build
39-
Downloading build-1.3.0-py3-none-any.whl.metadata (5.6 kB)
40-
Requirement already satisfied: packaging>=19.1 in /home/codespace/.local/lib/python3.12/site-packages (from build) (25.0)
41-
Collecting pyproject_hooks (from build)
42-
Downloading pyproject_hooks-1.2.0-py3-none-any.whl.metadata (1.3 kB)
43-
Downloading build-1.3.0-py3-none-any.whl (23 kB)
44-
Downloading pyproject_hooks-1.2.0-py3-none-any.whl (10 kB)
45-
Installing collected packages: pyproject_hooks, build
46-
Successfully installed build-1.3.0 pyproject_hooks-1.2.0
47-
```
37+
```output
38+
Collecting build
39+
Downloading build-1.3.0-py3-none-any.whl.metadata (5.6 kB)
40+
Requirement already satisfied: packaging>=19.1 in /home/codespace/.local/lib/python3.12/site-packages (from build) (25.0)
41+
Collecting pyproject_hooks (from build)
42+
Downloading pyproject_hooks-1.2.0-py3-none-any.whl.metadata (1.3 kB)
43+
Downloading build-1.3.0-py3-none-any.whl (23 kB)
44+
Downloading pyproject_hooks-1.2.0-py3-none-any.whl (10 kB)
45+
Installing collected packages: pyproject_hooks, build
46+
Successfully installed build-1.3.0 pyproject_hooks-1.2.0
47+
```
4848
49-
```bash
50-
python -m build
51-
```
49+
```bash
50+
python -m build
51+
```
5252
53-
```output
54-
* Creating isolated environment: venv+pip...
55-
* Installing packages in isolated environment:
56-
- hatchling
57-
* Getting build dependencies for sdist...
58-
* Building sdist...
59-
* Building wheel from sdist
60-
* Creating isolated environment: venv+pip...
61-
* Installing packages in isolated environment:
62-
- hatchling
63-
* Getting build dependencies for wheel...
64-
* Building wheel...
65-
Successfully built greet_me-0.1.0.tar.gz and greet_me-0.1.0-py3-none-any.whl
66-
```
53+
```output
54+
* Creating isolated environment: venv+pip...
55+
* Installing packages in isolated environment:
56+
- hatchling
57+
* Getting build dependencies for sdist...
58+
* Building sdist...
59+
* Building wheel from sdist
60+
* Creating isolated environment: venv+pip...
61+
* Installing packages in isolated environment:
62+
- hatchling
63+
* Getting build dependencies for wheel...
64+
* Building wheel...
65+
Successfully built greet_me-0.1.0.tar.gz and greet_me-0.1.0-py3-none-any.whl
66+
```
6767
6868
This command creates a `dist` directory containing two files:
6969
- A wheel file (`greet_me-0.1.0-py3-none-any.whl`).

0 commit comments

Comments
 (0)