diff options
-rw-r--r-- | setup.cfg | 3 | ||||
-rw-r--r-- | src/hydrilla/builder/build.py | 3 | ||||
-rw-r--r-- | src/hydrilla/util/_util.py | 3 | ||||
-rw-r--r-- | src/test/test_hydrilla_builder.py | 3 |
4 files changed, 11 insertions, 1 deletions
@@ -32,9 +32,10 @@ package_dir = = src packages = find: include_package_data=True +python_requires = >= 3.7 install_requires = click - jsonschema + jsonschema>=3.0 # reuse is optional: # reuse diff --git a/src/hydrilla/builder/build.py b/src/hydrilla/builder/build.py index 2824e9b..5a46259 100644 --- a/src/hydrilla/builder/build.py +++ b/src/hydrilla/builder/build.py @@ -24,6 +24,9 @@ # file's license. Although I request that you do not make use this code # in a proprietary program, I am not going to enforce this in court. +# Enable using with Python 3.7. +from __future__ import annotations + import json import re import zipfile diff --git a/src/hydrilla/util/_util.py b/src/hydrilla/util/_util.py index 364945c..62843f4 100644 --- a/src/hydrilla/util/_util.py +++ b/src/hydrilla/util/_util.py @@ -24,6 +24,9 @@ # file's license. Although I request that you do not make use this code # in a proprietary program, I am not going to enforce this in court. +# Enable using with Python 3.7. +from __future__ import annotations + import re import json import locale diff --git a/src/test/test_hydrilla_builder.py b/src/test/test_hydrilla_builder.py index 93392db..5b11dd9 100644 --- a/src/test/test_hydrilla_builder.py +++ b/src/test/test_hydrilla_builder.py @@ -4,6 +4,9 @@ # # Available under the terms of Creative Commons Zero v1.0 Universal. +# Enable using with Python 3.7. +from __future__ import annotations + import pytest import json import shutil |