fixedarith: switch divduX to XLEN
[openpower-isa.git] / setup.py
index d2b0216dc8399468af7beb63887a0cc471bed6df..5de8b0c4be0e5a8b9a3be2955d4636ee64d6cecd 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -6,8 +6,7 @@ here = os.path.abspath(os.path.dirname(__file__))
 README = open(os.path.join(here, 'README.md')).read()
 NEWS = open(os.path.join(here, 'NEWS.txt')).read()
 
-
-version = '0.0.1'
+version = '0.0.3'
 
 # using pip3 for ongoing development is a royal pain.  seriously not
 # recommended.  therefore a number of these dependencies have been
@@ -15,21 +14,30 @@ version = '0.0.1'
 # manually.
 
 install_requires = [
-    'nmigen', 
-    #'nmutil',  # can be obtained with pip3, best done manually
+    # ok to install using pip3 as long as it is not with the rest of Libre-SOC.     # https://git.libre-soc.org/?p=nmigen.git
+    'nmigen',
+    # can be obtained with pip3, best done manually
+    # https://git.libre-soc.org/?p=nmutil.git
+    'libresoc-nmutil',
+    # these should be fine
+    'pygdbmi', # gdb machine interfave
+    'ply',     # python lex yacc. very cool
+    'astor',   # python AST manipulation
 ]
 
 test_requires = [
     'nose',
-    # install pia from https://salsa.debian.org/Kazan-team/power-instruction-analyzer
+    # best to install pia from Libre-SOC:
+    # https://git.libre-soc.org/?p=power-instruction-analyzer.git
     'power-instruction-analyzer'
 ]
 
 setup(
-    name='libresoc-openpower',
+    name='libresoc-openpower-isa',
     version=version,
     description="OpenPOWER ISA resources including a python-based simulator",
-    long_description=README + '\n\n' + NEWS,
+    long_description=README + '\n\n',
+    long_description_content_type='text/markdown',
     classifiers=[
         "Topic :: Software Development",
         "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
@@ -48,4 +56,13 @@ setup(
     install_requires=install_requires,
     tests_require=test_requires,
     test_suite='nose.collector',
+    entry_points = {
+        'console_scripts': [
+            'pywriter=openpower.decoder.pseudo.pywriter:pywriter',
+            'pyfnwriter=openpower.decoder.pseudo.pyfnwriter:pyfnwriter',
+            'sv_analysis=openpower.sv.sv_analysis:process_csvs',
+            'pypowersim=openpower.decoder.isa.pypowersim:run_simulation',
+            'pysvp64asm=openpower.sv.trans.svp64:asm_process'
+        ]
+    }
 )