Skip to content

Commit

Permalink
Switch to project.scripts from the classic scripts (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
segevfiner authored Aug 4, 2024
1 parent 5ccf8f5 commit 932a28e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 24 deletions.
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
9 changes: 0 additions & 9 deletions scripts/activate-global-python-argcomplete

This file was deleted.

8 changes: 0 additions & 8 deletions scripts/python-argcomplete-check-easy-install-script

This file was deleted.

6 changes: 0 additions & 6 deletions scripts/register-python-argcomplete

This file was deleted.

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 932a28e

Please sign in to comment.