summaryrefslogtreecommitdiff
blob: 2ae13cd4abb076bf80af05b766780f92dce14c7a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/gui/setup.py
+++ b/gui/setup.py
@@ -19,7 +19,7 @@ def read_version():
     with open('../.version', 'r') as handle:
         version_string = handle.read()

-    return version_string.strip()
+    return version_string.split()[0]

 class install_glib_resources(install):
     user_options = install.user_options + [