diff --git a/pyproject.toml b/pyproject.toml index 77a0d9b9..84631823 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,14 @@ classifiers = [ "Typing :: Typed", ] +[project.scripts] +delocate-addplat = "delocate.cmd.delocate_addplat:main" +delocate-fuse = "delocate.cmd.delocate_fuse:main" +delocate-listdeps = "delocate.cmd.delocate_listdeps:main" +delocate-patch = "delocate.cmd.delocate_patch:main" +delocate-path = "delocate.cmd.delocate_path:main" +delocate-wheel = "delocate.cmd.delocate_wheel:main" + [project.urls] Homepage = "http://github.com/matthew-brett/delocate" diff --git a/setup.py b/setup.py index 42b02ddc..81b16bc9 100644 --- a/setup.py +++ b/setup.py @@ -22,17 +22,4 @@ ], "delocate": ["py.typed"], }, - entry_points={ - "console_scripts": [ - f"delocate-{name} = delocate.cmd.delocate_{name}:main" - for name in ( - "addplat", - "fuse", - "listdeps", - "patch", - "path", - "wheel", - ) - ] - }, )