Skip to content

Commit

Permalink
Fix: another typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lwasser committed Dec 8, 2023
1 parent 400b9b1 commit be06471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package-structure-code/declare-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ feature = [

:::{figure-md} python-package-dependencies

<img src="../images/python-package-dependencies.png" alt="Diagram showing a ven diagram with three sections representing the dependency groups listed above - docs feature and tests. In the center it says yourPackage and lists the core dependencies of that package seaborn and numpy. To the right are two arrows. the first shows the command python - m pip install yourPackage. it them shows how installing your package that way installs only the package and the two core dependencies into a users environment. Below is a second arrow with python -m pip install youPackage[tests]. This leads to an environment with both the package dependencies - yourPackage, seanorn and numpy and also the tests dependencies including pytest and pytest-cov ">
<img src="../images/python-package-dependencies.png" alt="Diagram showing a ven diagram with three sections representing the dependency groups listed above - docs feature and tests. In the center it says yourPackage and lists the core dependencies of that package seaborn and numpy. To the right are two arrows. the first shows the command python - m pip install yourPackage. it them shows how installing your package that way installs only the package and the two core dependencies into a users environment. Below is a second arrow with python -m pip install youPackage[tests]. This leads to an environment with both the package dependencies - yourPackage, seaborn and numpy and also the tests dependencies including pytest and pytest-cov ">

When a user installs your package locally using python -m pip install yourPackage only your package and it's core dependencies get installed. When they install your package`[tests]` pip will install both your package and its core dependencies plus any of the dependencies listed within the tests array of your `[optional.dependencies]` table.
:::
Expand Down

0 comments on commit be06471

Please sign in to comment.