project standard is to use c standard string specifiers NOT format
[openpower-isa.git] / setup.py
index 67c824eaf3ecee9abc6d5d5ccf84243072a0dffd..ca38ef99c08fd827b1fe15bf6f66416854685a36 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -18,6 +18,9 @@ version = '0.0.3'
 cprop = "git+https://git.libre-soc.org/git/cached-property.git@1.5.2" \
         "#egg=cached-property-1.5.2"
 
+pyelftools = "git+https://git.libre-soc.org/git/pyelftools.git@v0.30" \
+             "#egg=pyelftools-0.30"
+
 # using pip3 for ongoing development is a royal pain.  seriously not
 # recommended.  therefore a number of these dependencies have been
 # commented out.  *they are still required* - they will need installing
@@ -37,6 +40,13 @@ install_requires = [
 
     # git url needed for having `pip3 install -e .` install from libre-soc git
     'cached-property@'+cprop,
+    "pyelftools@" + pyelftools,
+]
+
+# git url needed for having `setup.py develop` install from libre-soc git
+dependency_links = [
+    cprop,
+    pyelftools,
 ]
 
 test_requires = [
@@ -68,6 +78,7 @@ setup(
     include_package_data=True,
     zip_safe=False,
     install_requires=install_requires,
+    dependency_links=dependency_links,
     tests_require=test_requires,
     test_suite='nose.collector',
     entry_points={
@@ -76,7 +87,9 @@ setup(
             'pyfnwriter=openpower.decoder.pseudo.pyfnwriter:pyfnwriter',
             'sv_analysis=openpower.sv.sv_analysis:main',
             'pypowersim=openpower.decoder.isa.pypowersim:run_simulation',
-            'pysvp64asm=openpower.sv.trans.svp64:asm_process'
-        ]
-    }
+            'pysvp64asm=openpower.insndb.asm:main',
+            'pysvp64db=openpower.insndb.db:main',
+            'pysvp64dis=openpower.insndb.disasm:main',
+        ],
+    },
 )