about summary refs log tree commit diff stats
path: root/setup.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2019-03-08 10:59:44 +0100
committerGitHub <noreply@github.com>2019-03-08 10:59:44 +0100
commitc52333578703a272dd07c197075ff3a38cde30a4 (patch)
tree0e83f6e4334a32acce2ab67d1b2587a5f2ceb44e /setup.py
parent4c2320b46250a8d6f8774e1218544b72a154cd8e (diff)
parent7508a7f892ef9c9db7b4e2ec73bc6cd0da0121c5 (diff)
downloadmiasm-c52333578703a272dd07c197075ff3a38cde30a4.tar.gz
miasm-c52333578703a272dd07c197075ff3a38cde30a4.zip
Merge pull request #995 from serpilliere/version_in_setup
Version in setup
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,