Commit 3c9e8ee8 authored by Guillaume Seguin's avatar Guillaume Seguin

Set version in setup.py

parent 36e48717
...@@ -29,6 +29,8 @@ except ImportError: ...@@ -29,6 +29,8 @@ except ImportError:
extensions = None extensions = None
build_ext = None build_ext = None
from printrun.printcore import __version__ as printcore_version
INSTALLED_FILES = "installed_files" INSTALLED_FILES = "installed_files"
class install (_install): class install (_install):
...@@ -152,6 +154,7 @@ if build_ext: ...@@ -152,6 +154,7 @@ if build_ext:
cmdclass['build_ext'] = build_ext cmdclass['build_ext'] = build_ext
setup(name = "Printrun", setup(name = "Printrun",
version = printcore_version,
description = "Host software for 3D printers", description = "Host software for 3D printers",
author = "Kliment Yanev", author = "Kliment Yanev",
url = "http://github.com/kliment/Printrun/", url = "http://github.com/kliment/Printrun/",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment