Ejemplo n.º 1
0
 def run():
     version_file = os.path.join('.', 'build', 'lib', src_dir, 'version')
     data = {
         'short': versioninfo.version(),
         'long': versioninfo.full_version(),
     }
     with open(version_file, 'w') as f:
         json.dump(data, f)
Ejemplo n.º 2
0
 def run():
     print(versioninfo.full_version())