diff --git a/pyproject.toml b/pyproject.toml index eb0d351..0441f2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,15 +22,15 @@ classifiers = [ 'Operating System :: OS Independent', ] +[project.scripts] +bindiffer = 'bindiff.__main__:main' + [project.urls] Homepage = "https://github.com/quarkslab/python-bindiff" Repository = "https://github.com/quarkslab/python-bindiff" Documentation = "https://diffing.quarkslab.com/differs/bindiff.html#python-bindiff" "Bug Tracker" = "https://github.com/quarkslab/python-bindiff/issues" -[tools.setuptools] -script-files = ["bins/bindiffer"] - [tool.black] line-length = 100 target-version = ['py310'] diff --git a/bin/bindiffer b/src/bindiff/__main__.py old mode 100755 new mode 100644 similarity index 100% rename from bin/bindiffer rename to src/bindiff/__main__.py