From 869a2c5631f1af7ca55822c58d18860f76a2de8c Mon Sep 17 00:00:00 2001 From: Kevin Jahaziel Leon Morales Date: Mon, 30 Dec 2024 11:35:48 -0600 Subject: [PATCH] fix: Setup catnip --- catnip_uploader/catnip_uploader.py | 1 + catnip_uploader/setup.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/catnip_uploader/catnip_uploader.py b/catnip_uploader/catnip_uploader.py index 7d6de1f..fa7473c 100755 --- a/catnip_uploader/catnip_uploader.py +++ b/catnip_uploader/catnip_uploader.py @@ -427,5 +427,6 @@ def main(): catnip_uploader = CatnipUploader() catnip_uploader.app() + if __name__ == "__main__": main() diff --git a/catnip_uploader/setup.py b/catnip_uploader/setup.py index 7b65a48..73e528b 100644 --- a/catnip_uploader/setup.py +++ b/catnip_uploader/setup.py @@ -7,10 +7,10 @@ author="Electronic Cats", url="https://github.com/ElectronicCats/CatSniffer-Tools", packages=find_packages(include=["modules", "modules.*"]), - py_modules=["catnip"], + py_modules=["catnip_uploader", "cc2538"], entry_points={ "console_scripts": [ - "catnip=catnip:main", + "catnip=catnip_uploader:main", ], }, install_requires=[