setup.py: add short names for tools

This commit is contained in:
Florent Kermarrec 2019-04-23 17:46:20 +02:00
parent 9ded2eb20b
commit f0fe9f3cdf
1 changed files with 5 additions and 0 deletions

View File

@ -36,11 +36,16 @@ setup(
include_package_data=True, include_package_data=True,
entry_points={ entry_points={
"console_scripts": [ "console_scripts": [
# full names
"litex_term=litex.tools.litex_term:main", "litex_term=litex.tools.litex_term:main",
"litex_server=litex.tools.litex_server:main", "litex_server=litex.tools.litex_server:main",
"litex_sim=litex.tools.litex_sim:main", "litex_sim=litex.tools.litex_sim:main",
"litex_read_verilog=litex.tools.litex_read_verilog:main", "litex_read_verilog=litex.tools.litex_read_verilog:main",
"litex_simple=litex.boards.targets.simple:main", "litex_simple=litex.boards.targets.simple:main",
# short names
"lxterm=litex.tools.litex_term:main",
"lxserver=litex.tools.litex_server:main",
"lxsim=litex.tools.litex_sim:main",
], ],
}, },
) )