From efd07d7cc6c7a5b31dfde134ec8f67ee2b9ee222 Mon Sep 17 00:00:00 2001 From: bhargavyagnik Date: Mon, 18 Mar 2024 13:46:57 -0400 Subject: [PATCH 1/2] Updated examples with installation of packages from localdir #1277 --- changelog.d/1277.doc.md | 1 + docs/examples.md | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 changelog.d/1277.doc.md diff --git a/changelog.d/1277.doc.md b/changelog.d/1277.doc.md new file mode 100644 index 0000000000..81cb0e76f9 --- /dev/null +++ b/changelog.d/1277.doc.md @@ -0,0 +1 @@ +Update the examples for installation from local dir diff --git a/docs/examples.md b/docs/examples.md index 4c0c8fbed0..e935d6a8b0 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -18,6 +18,8 @@ pipx install --pip-args='--pre' poetry pipx install --pip-args='--index-url=: --trusted-host=:' private-repo-package pipx install --index-url https://test.pypi.org/simple/ --pip-args='--extra-index-url https://pypi.org/simple/' some-package pipx --global install pycowsay +pipx install . +pipx install ./src ``` ## `pipx run` examples From 7a41fe54b6fc4359f7c3c93ffc2d724a7449b840 Mon Sep 17 00:00:00 2001 From: Bhargav Yagnik <41851612+bhargavyagnik@users.noreply.github.com> Date: Tue, 19 Mar 2024 03:02:50 -0400 Subject: [PATCH 2/2] Update docs/examples.md Co-authored-by: chrysle --- docs/examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples.md b/docs/examples.md index e935d6a8b0..030403d8d2 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -19,7 +19,7 @@ pipx install --pip-args='--index-url=: --t pipx install --index-url https://test.pypi.org/simple/ --pip-args='--extra-index-url https://pypi.org/simple/' some-package pipx --global install pycowsay pipx install . -pipx install ./src +pipx install path/to/some-project ``` ## `pipx run` examples