From 6ad52e6707a86f24e9c473277dfbb48d79a5ca55 Mon Sep 17 00:00:00 2001 From: Ricky Atkins Date: Tue, 5 May 2026 11:54:09 +0100 Subject: [PATCH 1/3] Add entry point script --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index 6c3ccae..a2067ce 100755 --- a/setup.py +++ b/setup.py @@ -252,6 +252,11 @@ def run(self): zip_safe=False, cmdclass=cmdclass, setup_requires=["setuptools_scm"], + entry_points={ + "console_scripts": [ + "opentype-sanitizer = ots.__main__:main", + ] + }, extras_require={"testing": ["pytest"]}, classifiers=[ "Development Status :: 5 - Production/Stable", From 8bbb1de2f928792dc186c43c381aa468a688dd28 Mon Sep 17 00:00:00 2001 From: Ricky Atkins Date: Tue, 5 May 2026 11:55:01 +0100 Subject: [PATCH 2/3] Nudge CI From 2cfbf700f6663bd5feff0e22879bbcf1a344d935 Mon Sep 17 00:00:00 2001 From: Ricky Atkins Date: Tue, 5 May 2026 11:58:56 +0100 Subject: [PATCH 3/3] Remove dry_run from mkpath --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a2067ce..a04489a 100755 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ def run(self): else: archive_name = self.url.rsplit("/", 1)[-1] - mkpath(self.download_dir, verbose=self.verbose, dry_run=self.dry_run) + mkpath(self.download_dir, verbose=self.verbose) log.info("downloading {}".format(self.url)) if not self.dry_run: