Skip to content

Commit 39273be

Browse files
committed
Fix formatting
1 parent dc3c509 commit 39273be

1 file changed

Lines changed: 15 additions & 12 deletions

File tree

03_building_and_packaging/pypi_slides.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,16 @@ In this lecture we work with pip, because ...
7373

7474
## Distribution Package vs. Import Package
7575

76-
- Distribution package is ...
77-
- ... something you can install, like `pip install pkg`.
78-
- ... directly acquired from a packaging index.
79-
- Import package
80-
- ... is a Python module which typically contains submodules.
81-
- ... is used within a file: `import pkg` or `from pkg import xyz`.
82-
- ... is available when its distribution package is installed.
76+
Distribution package is ...
77+
78+
- ... something you can install, like `pip install pkg`.
79+
- ... directly acquired from a packaging index.
80+
81+
Import package ...
82+
83+
- ... is a Python module which typically contains submodules.
84+
- ... is used within a file: `import pkg` or `from pkg import xyz`.
85+
- ... is available when its distribution package is installed.
8386

8487
Distribution package name and import package need not be the same, but usually is. Read more about [distribution package vs. import package](https://packaging.python.org/en/latest/discussions/distribution-package-vs-import-package/#distribution-package-vs-import-package).
8588

@@ -235,11 +238,11 @@ Built distribution (wheel)
235238
twine upload dist/package-name-version.tar.gz dist/package-name-version-py3-none-any.whl
236239
```
237240

238-
- Use `twine` because ...
239-
- ... it uses secure authentication of the user over HTTPS.
240-
- ... its predecessor `python setup.py upload` required careful configuration, and is deprecated.
241-
- ... encourages users to create distribution files to promote testing before releasing.
242-
- The archive files are uploaded to a package index from where pip can get them.
241+
Use `twine` because ...
242+
243+
- ... it uses secure authentication of the user over HTTPS.
244+
- ... its predecessor `python setup.py upload` required careful configuration, and is deprecated.
245+
- ... encourages users to create distribution files to promote testing before releasing.
243246

244247
---
245248

0 commit comments

Comments
 (0)