You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: episodes/project_publishing.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,15 @@ exercises: 15
25
25
Once we have created our project, defined all the necessary metadata in the toml file, its time to publish our project. Let see the tools and steps we need to acheive this.
26
26
27
27
We need to install the following tools i.e. `build` and `twine`
28
+
28
29
## Create your build
29
-
`build`:A tool to read the ['pyproject']toml file and build the package files
30
+
31
+
`build`:A tool to read the `pyproject.toml` file and build the package files
@@ -58,6 +64,7 @@ We need to install the following tools i.e. `build` and `twine`
58
64
* Building wheel...
59
65
Successfully built greet_me-0.1.0.tar.gz and greet_me-0.1.0-py3-none-any.whl
60
66
```
67
+
61
68
This command creates a `dist` directory containing two files:
62
69
- A wheel file (`greet_me-0.1.0-py3-none-any.whl`).
63
70
- A source archive (`greet_me-0.1.0.tar.gz`).
@@ -66,9 +73,12 @@ We need to install the following tools i.e. `build` and `twine`
66
73
67
74
68
75
## Create an account on TestPyPI
76
+
69
77
Visit this [URL](https://test.pypi.org/account/register/) and crete an account to generate the API keys, to be able to upload your package to TestPyPI in the next step.
70
78
Once you create your account, you can visit this [link](https://test.pypi.org/manage/account/token/) to generate the API key. Please copy the same in a notepad and paste it when prompted for it in the next step below.
0 commit comments