From 8a0ee85bc4609b52ee6a2b01545ad6131d588cca Mon Sep 17 00:00:00 2001
From: Manon blanco <blanco@teklia.com>
Date: Tue, 20 Jun 2023 14:42:24 +0000
Subject: [PATCH] Indicate python version compatibility

---
 README.md | 2 ++
 setup.py  | 1 +
 2 files changed, 3 insertions(+)

diff --git a/README.md b/README.md
index 32dcab89..c382b485 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
 # DAN: a Segmentation-free Document Attention Network for Handwritten Document Recognition
 
+[![Python >= 3.10](https://img.shields.io/badge/Python-%3E%3D3.10-blue.svg)](https://www.python.org/downloads/release/python-3100/)
+
 ## Documentation
 
 To use DAN in your own scripts, install it using pip:
diff --git a/setup.py b/setup.py
index da61be6b..5cb03b52 100755
--- a/setup.py
+++ b/setup.py
@@ -21,6 +21,7 @@ setup(
     author="Teklia",
     author_email="contact@teklia.com",
     url="https://gitlab.com/teklia/atr/dan",
+    python_requires=">=3.10",
     install_requires=parse_requirements("requirements.txt"),
     packages=find_packages(),
     entry_points={
-- 
GitLab