From: Luke Kenneth Casson Leighton Date: Fri, 23 Apr 2021 15:46:39 +0000 (+0100) Subject: make svanalysis a python console script X-Git-Tag: 0.0.1~28 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c7cf09e3d521fff505f081bd3f12acb0c023465;p=openpower-isa.git make svanalysis a python console script --- diff --git a/Makefile b/Makefile index d4091c3d..241bd63e 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,9 @@ gitupdate: git submodule init git submodule update --init --recursive --remote +# now installed as a command (/usr/local/bin/svanalysis) by setup.py svanalysis: - python3 openpower/sv_analysis.py + svanalysis # now installed as a command (/usr/local/bin/pywriter) by setup.py pywriter: diff --git a/setup.py b/setup.py index 00ff7597..7c4a984f 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ version = '0.0.1' install_requires = [ 'nmigen', - #'nmutil', # can be obtained with pip3, best done manually + 'nmutil', # can be obtained with pip3, best done manually ] test_requires = [ @@ -51,6 +51,7 @@ setup( entry_points = { 'console_scripts': [ 'pywriter=openpower.decoder.pseudo.pywriter:pywriter' + 'sv_analysis=openpower.sv:sv_analysis' ] } )