@@ -27,17 +27,43 @@ We need to install the following tools
2727 1 . ` build ` : A tool to read the [ 'pyproject'] toml file and build the package files
2828 ``` bash
2929 pip install build
30-
30+ ```
31+ ` ` ` output
32+ Collecting build
33+ Downloading build-1.3.0-py3-none-any.whl.metadata (5.6 kB)
34+ Requirement already satisfied: packaging> =19.1 in /home/codespace/.local/lib/python3.12/site-packages (from build) (25.0)
35+ Collecting pyproject_hooks (from build)
36+ Downloading pyproject_hooks-1.2.0-py3-none-any.whl.metadata (1.3 kB)
37+ Downloading build-1.3.0-py3-none-any.whl (23 kB)
38+ Downloading pyproject_hooks-1.2.0-py3-none-any.whl (10 kB)
39+ Installing collected packages: pyproject_hooks, build
40+ Successfully installed build-1.3.0 pyproject_hooks-1.2.0
41+ ` ` `
42+ ` ` ` bash
3143 python -m build
3244 ` ` `
33- This command creates a dist directory containing two files:
34- ` ` ` output
45+ ` ` ` output
46+ * Creating isolated environment: venv+pip...
47+ * Installing packages in isolated environment:
48+ - hatchling
49+ * Getting build dependencies for sdist...
50+ * Building sdist...
51+ * Building wheel from sdist
52+ * Creating isolated environment: venv+pip...
53+ * Installing packages in isolated environment:
54+ - hatchling
55+ * Getting build dependencies for wheel...
56+ * Building wheel...
57+ Successfully built greet_me-0.1.0.tar.gz and greet_me-0.1.0-py3-none-any.whl
3558 ` ` `
36- A wheel file (e.g., my_minimal_package-0.0.1-py3-none-any.whl).
59+ This command creates a dist directory containing two files:
60+ A wheel file (` greet_me-0.1.0-py3-none-any.whl` ).
61+
62+ A source archive (` greet_me-0.1.0.tar.gz` ).
63+ < img width=" 259" height=" 398" alt=" image" src=" https://github.com/user-attachments/assets/302f502b-34ed-470e-a4e0-884b808a6ff0" />
3764
38- A source archive (e.g., my-minimal-package-0.0.1.tar.gz).
3965
40- 2 . ` twine` : A tool for securely uploading packages to PyPI and TestPyPI.
66+ 3 . ` twine` : A tool for securely uploading packages to PyPI and TestPyPI.
4167 ` ` ` bash
4268 pip install build twine
4369
0 commit comments