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: 03_building_and_packaging/pypi_slides.md
+15-12Lines changed: 15 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,13 +73,16 @@ In this lecture we work with pip, because ...
73
73
74
74
## Distribution Package vs. Import Package
75
75
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.
83
86
84
87
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).
0 commit comments