setup.py: change name and add entry point
authorRobin Krens <robin@robinkrens.nl>
Thu, 15 Feb 2024 10:05:45 +0000 (11:05 +0100)
committerRobin Krens <robin@robinkrens.nl>
Thu, 15 Feb 2024 10:05:45 +0000 (11:05 +0100)
setup.py

index 33cb854..7a4e306 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -6,13 +6,18 @@ def read(fname):
     return open(os.path.join(os.path.dirname(__file__), fname)).read()
 
 setup(
-    name = "renesas-ra-flasher",
+    name = "raflash",
     version = "0.0.1",
     author = "Robin Krens",
     description = ("Flasher for the built in ROM bootloader for Renesas RA microcontrollers"),
     license = "GNU",
     keywords = "Renesas RA chipset flasher",
     packages=['src', 'tests'],
+    entry_points={
+        'console_scripts': [
+            'raflash = src.RAFlasher:main',
+        ],
+    },
     long_description=read('README.md'),
     classifiers=[
         "Development Status :: 1",