8000 Add a section on different package managers (#238) · fabioacl/python-tutorial@0800a00 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0800a00

Browse files
authored
Add a section on different package managers (empa-scientific-it#238)
* Add a section on different package managers. * Update TOC.
1 parent 93ed886 commit 0800a00

File tree

1 file changed

+27
-6
lines changed

1 file changed

+27
-6
lines changed

manage_python_project.ipynb

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
" - [Changelog](#Changelog)\n",
6262
" - [CHANGELOG.md](#CHANGELOG.md)\n",
6363
" - [GitHub releases](#GitHub-releases)\n",
64+
" - [Package managers](#Package-managers)\n",
6465
" - [Automate things](#Automate-things)\n",
6566
" - [Testing](#Testing)\n",
6667
" - [Exercise on testing automation](#Exercise-on-testing-automation)\n",
@@ -1495,6 +1496,26 @@
14951496
"cell_type": "markdown",
14961497
"id": "61",
14971498
"metadata": {},
1499+
"source": [
1500+
"## Package managers\n",
1501+
"\n",
1502+
"There are several package managers that can be used to release the package on PyPI.\n",
1503+
"In this tutorial, we have used [`flit`](https://flit.pypa.io/).\n",
1504+
"However, there are other package managers that can be used, such as [`setuptools`](https://setuptools.pypa.io/), [`poetry`](https://python-poetry.org/), [`hatch`](https://hatch.pypa.io/), etc.\n",
1505+
"\n",
1506+
"In this tutorial we will not go into the details of the package managers, as they are well documented.\n",
1507+
"We also don't want to start a flame war on which package manager is the best and why.\n",
1508+
"The choice is essentially up to the developers.\n",
1509+
"One can always switch between managers if the current one does not satisfy the needs.\n",
1510+
"\n",
1511+
"\n",
1512+
"If you want to deep dive into the topic, we recommend looking at the [Python Packaging User Guide](https://packaging.python.org/)."
1513+
]
1514+
},
1515+
{
1516+
"cell_type": "markdown",
1517+
"id": "62",
1518+
"metadata": {},
14981519
"source": [
14991520
"# Automate things\n",
15001521
"\n",
@@ -1508,7 +1529,7 @@
15081529
},
15091530
{
15101531
"cell_type": "markdown",
1511-
"id": "62",
1532+
"id": "63",
15121533
"metadata": {},
15131534
"source": [
15141535
"## Testing\n",
@@ -1560,7 +1581,7 @@
15601581
},
15611582
{
15621583
"cell_type": "markdown",
1563-
"id": "63",
1584+
"id": "64",
15641585
"metadata": {},
15651586
"source": [
15661587
"## Exercise on testing automation\n",
@@ -1571,7 +1592,7 @@
15711592
},
15721593
{
15731594
"cell_type": "markdown",
1574-
"id": "64",
1595+
"id": "65",
15751596
"metadata": {},
15761597
"source": [
15771598
"## Version update\n",
@@ -1625,7 +1646,7 @@
16251646
},
16261647
{
16271648
"cell_type": "markdown",
1628-
"id": "65",
1649+
"id": "66",
16291650
"metadata": {},
16301651
"source": [
16311652
"## Exercise on version update automation\n",
@@ -1637,7 +1658,7 @@
16371658
},
16381659
{
16391660
"cell_type": "markdown",
1640-
"id": "66",
1661+
"id": "67",
16411662
"metadata": {},
16421663
"source": [
16431664
"## Releasing\n",
@@ -1731,7 +1752,7 @@
17311752
},
17321753
{
17331754
"cell_type": "markdown",
1734-
"id": "67",
1755+
"id": "68",
17351756
"metadata": {},
17361757
"source": [
17371758
"## Exercises on releasing automation\n",

0 commit comments

Comments
 (0)
0