setup: add entry points
authorSebastien Bourdeauducq <sb@m-labs.hk>
Sun, 4 Oct 2015 16:45:02 +0000 (00:45 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sun, 4 Oct 2015 16:45:02 +0000 (00:45 +0800)
setup.py

index 921bcc20db1cf92576becd2ede2d0d5954c3c1c0..7097418e38acd5c274bca424ff92e82071d220a9 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,6 @@ setup(
     author_email="sb@m-labs.hk",
     url="http://m-labs.hk",
     download_url="https://github.com/m-labs/misoc",
-    packages=find_packages(),
     license="BSD",
     platforms=["Any"],
     keywords="HDL ASIC FPGA hardware design",
@@ -31,4 +30,11 @@ setup(
         "Operating System :: OS Independent",
         "Programming Language :: Python",
     ],
+    packages=find_packages(),
+    entry_points={
+        "console_scripts": [
+            "flterm=misoc.tools.flterm:main",
+            "mkmscimg=misoc.tools.mkmscimg:main",
+        ],
+    },
 )