about summary refs log tree commit diff stats
path: root/setup.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2019-03-07 16:18:43 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2019-03-07 16:18:43 +0100
commit7508a7f892ef9c9db7b4e2ec73bc6cd0da0121c5 (patch)
tree0e83f6e4334a32acce2ab67d1b2587a5f2ceb44e /setup.py
parent1c2dfa3b999fa693d4bc3c10c06f01c896fb7365 (diff)
downloadmiasm-7508a7f892ef9c9db7b4e2ec73bc6cd0da0121c5.tar.gz
miasm-7508a7f892ef9c9db7b4e2ec73bc6cd0da0121c5.zip
Setup: add version to setup for future pip
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 81f8e4a2..9a687160 100755
--- a/setup.py
+++ b/setup.py
@@ -140,13 +140,14 @@ def buil_all():
         print("build with", repr(name))
         try:
             s = setup(
-                name = "Miasm",
-                version = "2.0",
+                name = "miasm",
+                version = __import__("miasm").VERSION,
                 packages = packages,
                 package_data = {
-                    "miasm":[
+                    "miasm": [
                         "jitter/*.h",
                         "jitter/arch/*.h",
+                        "VERSION"
                     ]
                 },
                 ext_modules = ext_modules,