Commit 6b62bf87 authored by Nicola Spanti's avatar Nicola Spanti
Browse files

Add a dedicated file to ease automation with scripts

parent 203b28bc089a
Pipeline #28408 failed with stages
in 8 seconds
......@@ -9,8 +9,10 @@ from glob import glob
modname = 'slickgrid'
distname = 'cubicweb-%s' % modname
numversion = (1, 2, 1)
version = '.'.join(str(num) for num in numversion)
# Version lives in a dedicated file to ease automation.
with open(join(dirname(__file__), 'VERSION')) as f:
version = f.readline().strip()
numversion = tuple(int(num) for num in version.split('.')[:3])
license = 'LGPL'
author = 'LOGILAB S.A. (Paris, FRANCE)'
......
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