setup.py: Expose litex_soc_gen and litex_periph_gen and sort console scripts.

This commit is contained in:
Florent Kermarrec 2022-05-05 17:44:59 +02:00
parent e8b6200225
commit 0a1ae7b413
1 changed files with 21 additions and 8 deletions

View File

@ -36,15 +36,28 @@ setup(
],
entry_points={
"console_scripts": [
# 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",
# Demos.
"litex_bare_metal_demo=litex.soc.software.demo.demo: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",
"litex_bare_metal_demo=litex.soc.software.demo.demo:main",
# Development tools.
"litex_read_verilog = litex.tools.litex_read_verilog:main",
"litex_contributors = litex.tools.litex_contributors:main",
],
},