From 0a1ae7b41330beffc661fe03b8e14bf203952cf5 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 5 May 2022 17:44:59 +0200 Subject: [PATCH] setup.py: Expose litex_soc_gen and litex_periph_gen and sort console scripts. --- setup.py | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index f5e91cc6b..fe8ba6bc1 100755 --- a/setup.py +++ b/setup.py @@ -36,16 +36,29 @@ setup( ], entry_points={ "console_scripts": [ - "litex_term=litex.tools.litex_term:main", - "litex_server=litex.tools.litex_server:main", - "litex_cli=litex.tools.litex_client:main", + # Terminal/Server/Client. + "litex_term = litex.tools.litex_term:main", + "litex_server = litex.tools.litex_server:main", + "litex_cli = litex.tools.litex_client:main", + + # SoC Generators. + "litex_soc_gen = litex.tools.litex_soc_gen:main", + "litex_periph_gen = litex.tools.litex_periph_gen:main", + + # Simulation. "litex_sim=litex.tools.litex_sim:main", - "litex_read_verilog=litex.tools.litex_read_verilog:main", - "litex_json2dts_linux=litex.tools.litex_json2dts_linux:main", - "litex_json2dts_zephyr=litex.tools.litex_json2dts_zephyr:main", - "litex_json2renode=litex.tools.litex_json2renode:main", + + # Demos. "litex_bare_metal_demo=litex.soc.software.demo.demo:main", - "litex_contributors=litex.tools.litex_contributors:main", + + # Export tools. + "litex_json2dts_linux = litex.tools.litex_json2dts_linux:main", + "litex_json2dts_zephyr = litex.tools.litex_json2dts_zephyr:main", + "litex_json2renode = litex.tools.litex_json2renode:main", + + # Development tools. + "litex_read_verilog = litex.tools.litex_read_verilog:main", + "litex_contributors = litex.tools.litex_contributors:main", ], }, )