Show More
@@ -104,8 +104,12 b' test_requirements = _get_requirements(' | |||||
104 |
|
104 | |||
105 |
|
105 | |||
106 | def get_version(): |
|
106 | def get_version(): | |
107 | version = pkgutil.get_data('rhodecode', 'VERSION') |
|
107 | here = os.path.abspath(os.path.dirname(__file__)) | |
108 | return version.decode().strip() |
|
108 | ver_file = os.path.join(here, "rhodecode", "VERSION") | |
|
109 | with open(ver_file, "rt") as f: | |||
|
110 | version = f.read().strip() | |||
|
111 | ||||
|
112 | return version | |||
109 |
|
113 | |||
110 |
|
114 | |||
111 | # additional files that goes into package itself |
|
115 | # additional files that goes into package itself |
General Comments 0
You need to be logged in to leave comments.
Login now