From 7508a7f892ef9c9db7b4e2ec73bc6cd0da0121c5 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Thu, 7 Mar 2019 16:18:43 +0100 Subject: Setup: add version to setup for future pip --- setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'setup.py') 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, -- cgit 1.4.1