diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..afaf360 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1.0.0 \ No newline at end of file diff --git a/sptnr.py b/sptnr.py index 4faefec..833e77d 100644 --- a/sptnr.py +++ b/sptnr.py @@ -1,3 +1,6 @@ +with open('VERSION', 'r') as file: + __version__ = file.read().strip() + import argparse import base64 import json