diff options
author | Ben Brown <ben@demerara.io> | 2021-11-18 18:38:19 +0000 |
---|---|---|
committer | Ben Brown <ben@demerara.io> | 2021-11-18 19:14:05 +0000 |
commit | 26de9fb2cd55aad522a4fdaf5eb96c146b99d4aa (patch) | |
tree | 2660fc8a9f0bece893d04839e53c403028219417 | |
parent | 45941ff31b113383c1cb52129720f76b19bb287f (diff) | |
download | lorry-26de9fb2cd55aad522a4fdaf5eb96c146b99d4aa.tar.gz |
Set minimum version to 3.6
3.6 is not EOL yet, let's not rush to requiring anything higher just
yet.
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | setup.py | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -26,7 +26,7 @@ Dependencies Required: -* **Python 3** +* **Python 3**: Minimum of 3.6. * **Git** @@ -28,6 +28,7 @@ import glob import os import shutil import subprocess +import sys class Build(build): @@ -95,6 +96,10 @@ class Install(install): 'share/lorry/hg-fast-export/plugins')) +if sys.version_info < (3, 6): + print("lorry requires Python 3.6+", file=sys.stderr) + sys.exit(1) + setup(name='lorry', description='FIXME', long_description='''\ |