Skip to content

Commit

Permalink
Merge pull request #190 from HexDecimal/fix-scripts
Browse files Browse the repository at this point in the history
Move console scripts to pyproject.toml
  • Loading branch information
HexDecimal authored Nov 21, 2023
2 parents 5f8a14a + 13c53dd commit 27f7b64
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
13 changes: 0 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
]
},
)

0 comments on commit 27f7b64

Please sign in to comment.