aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHenry Schreiner <HenrySchreinerIII@gmail.com>2021-07-15 15:01:29 -0400
committerGitHub <noreply@github.com>2021-07-15 15:01:29 -0400
commit2415c09459efb0c6ab33d9dfe2a555237577dc6e (patch)
tree6d2a5cd2e08168ab43e054178eecb26120d850f9 /tools
parent31843d455dd347ce9ccb27dd5b51822fe2b561c5 (diff)
downloadpybind11-2415c09459efb0c6ab33d9dfe2a555237577dc6e.tar.gz
feat(package): support pipx run (#3117)
Diffstat (limited to 'tools')
-rw-r--r--tools/setup_main.py.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/setup_main.py.in b/tools/setup_main.py.in
index bcd4ef4a..533a75ae 100644
--- a/tools/setup_main.py.in
+++ b/tools/setup_main.py.in
@@ -32,6 +32,9 @@ setup(
entry_points={
"console_scripts": [
"pybind11-config = pybind11.__main__:main",
+ ],
+ "pipx.run": [
+ "pybind11 = pybind11.__main__:main",
]
},
cmdclass=cmdclass