From 8c7cf09e3d521fff505f081bd3f12acb0c023465 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 23 Apr 2021 16:46:39 +0100 Subject: [PATCH] make svanalysis a python console script --- Makefile | 3 ++- setup.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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' ] } ) -- 2.30.2