From ef72ef40a55192461ba9339249f3560b44f9c134 Mon Sep 17 00:00:00 2001 From: Darsey Litzenberger Date: Tue, 1 Nov 2022 13:10:33 -0600 Subject: [PATCH 1/2] Add 'warcat' console_scripts entry point This fixes installing warcat using tools like pipx, which depend on a console_scripts entry being present. --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 054bcc2..47b8961 100644 --- a/setup.py +++ b/setup.py @@ -20,4 +20,7 @@ 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', 'Topic :: System :: Archiving', ], + entry_points = { + 'console_scripts': ['warcat=warcat.__main__:main'], + }, ) From 5ff0281d9d198e2d426587c908bab8f531da7724 Mon Sep 17 00:00:00 2001 From: Darsey Litzenberger Date: Tue, 1 Nov 2022 13:43:47 -0600 Subject: [PATCH 2/2] .gitignore: ignore *.egg-info --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 4d6733e..9029bf4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *~ *.a +*.egg-info *.o *.py[co] *.so