feat(package): support pipx run (#3117)

This commit is contained in:
Henry Schreiner 2021-07-15 15:01:29 -04:00 committed by GitHub
parent 31843d455d
commit 2415c09459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,9 @@ setup(
entry_points={ entry_points={
"console_scripts": [ "console_scripts": [
"pybind11-config = pybind11.__main__:main", "pybind11-config = pybind11.__main__:main",
],
"pipx.run": [
"pybind11 = pybind11.__main__:main",
] ]
}, },
cmdclass=cmdclass cmdclass=cmdclass