aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make_version.py
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2025-08-15 17:48:21 +0100
committerTomasz Kramkowski <tomasz@kramkow.ski>2025-08-15 21:46:37 +0100
commitadcf25e7ba68d13f0ce3420d24fc91840b30e893 (patch)
tree5f62a0735aa2aa1f06438437dbe39cdd5ad7ebc2 /scripts/make_version.py
parent98e179c3bbbb6a5d10130eae5b97231b76cad7f7 (diff)
downloadkutter-adcf25e7ba68d13f0ce3420d24fc91840b30e893.tar.gz
kutter-adcf25e7ba68d13f0ce3420d24fc91840b30e893.tar.xz
kutter-adcf25e7ba68d13f0ce3420d24fc91840b30e893.zip
Remove git based version handling
Diffstat (limited to 'scripts/make_version.py')
-rw-r--r--scripts/make_version.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/scripts/make_version.py b/scripts/make_version.py
deleted file mode 100644
index 7a48018a..00000000
--- a/scripts/make_version.py
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env python2
-# Get the version number for klippy
-#
-# Copyright (C) 2018 Lucas Fink <software@lfcode.ca>
-#
-# This file may be distributed under the terms of the GNU GPLv3 license.
-
-from __future__ import print_function
-
-import argparse
-import os
-import sys
-
-sys.path.append(os.path.join(os.path.dirname(__file__), "../klippy"))
-
-import util
-
-
-def main(argv):
- p = argparse.ArgumentParser()
- p.add_argument("distroname", help="Name of distro this package is intended for")
- args = p.parse_args()
- print(
- util.get_git_version(from_file=False)["version"],
- args.distroname.replace(" ", ""),
- sep="-",
- )
-
-
-if __name__ == "__main__":
- main(sys.argv[1:])