pyOpenSci / python-package-guide

scientific Python package recommendations & guidance curated by pyOpenSci
https://www.pyopensci.org/python-package-guide/
Other
70 stars 43 forks source link

Always use `python -m` with pip #300

Closed jhkennedy closed 3 weeks ago

jhkennedy commented 3 weeks ago

I noticed some inconsistencies around how pip is invoked in the package guide, so I've gone through and made sure all pip commands are invoked with python -m pip ... as recommended in the guide here: https://www.pyopensci.org/python-package-guide/package-structure-code/declare-dependencies.html#install-dependency-groups image