Skip to content

Commit

Permalink
Switch to project.scripts from the classic scripts
Browse files Browse the repository at this point in the history
Split from #474
  • Loading branch information
segevfiner committed Aug 2, 2024
1 parent 368bc32 commit b3c3d36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ classifiers = [
"Topic :: Terminals",
]

[project.scripts]
activate-global-python-argcomplete = "argcomplete.scripts.activate_global_python_argcomplete:main"
python-argcomplete-check-easy-install-script = "argcomplete.scripts.python_argcomplete_check_easy_install_script:main"
register-python-argcomplete = "argcomplete.scripts.register_python_argcomplete:main"

[project.optional-dependencies]
test = ["coverage", "pexpect", "wheel", "ruff", "mypy"]

Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
setup(
url="https://github.com/kislyuk/argcomplete",
packages=find_packages(exclude=["test", "test.*"]),
scripts=glob.glob("scripts/*"),
package_data={"argcomplete": ["bash_completion.d/_python-argcomplete", "py.typed"]},
zip_safe=False,
include_package_data=True,
Expand Down

0 comments on commit b3c3d36

Please sign in to comment.