Skip to content

Commit 0cb0b26

Browse files
Update 5_project_publishing.md
1 parent 0ab150c commit 0cb0b26

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

episodes/5_project_publishing.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -218,22 +218,22 @@ pixi run twine upload --repository testpypi dist/*
218218
Create a new Repository with a readme file and install your package from TestPyPI via this command :
219219

220220
```bash
221-
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple po-greet-me==0.1.1
221+
pip install -i https://test.pypi.org/simple/ greet-me1==0.1.7
222222
```
223223

224224
```output
225-
Looking in indexes: https://test.pypi.org/simple/, https://pypi.org/simple
226-
Collecting po-greet-me==0.1.1
227-
Downloading https://test-files.pythonhosted.org/packages/52/85/dd6ebf4ee0a6ff76699a4c4f134059e6615b75c50e30cd40cd424370b81e/po_greet_me-0.1.1-py3-none-any.whl.metadata (137 bytes)
228-
Downloading https://test-files.pythonhosted.org/packages/52/85/dd6ebf4ee0a6ff76699a4c4f134059e6615b75c50e30cd40cd424370b81e/po_greet_me-0.1.1-py3-none-any.whl (815 bytes)
229-
Installing collected packages: po-greet-me
230-
Successfully installed po-greet-me-0.1.1
225+
Looking in indexes: https://test.pypi.org/simple/
226+
Collecting greet-me1==0.1.7
227+
Downloading https://test-files.pythonhosted.org/packages/92/84/76afd107870f18a144fe5df0cc9fd0d7698c69e82e4c085f2ba339f99218/greet_me1-0.1.7-py3-none-any.whl.metadata (304 bytes)
228+
Downloading https://test-files.pythonhosted.org/packages/92/84/76afd107870f18a144fe5df0cc9fd0d7698c69e82e4c085f2ba339f99218/greet_me1-0.1.7-py3-none-any.whl (2.4 kB)
229+
Installing collected packages: greet-me1
230+
Successfully installed greet-me1-0.1.7
231231
```
232232

233233
Then create a test script : `test_package.py`:
234234

235235
```python
236-
from my_package import happy, sad
236+
from greet_me1 import happy, sad
237237

238238
print(happy.greet_happy())
239239
```

0 commit comments

Comments
 (0)