python-futures/0002-Specify-python_requires-to-prevent-installation-on-P.patch
zhang-liang-pengkun 4f86cc0d52 Specify python_requires to prevent installation on Python 3
Signed-off-by: zhang-liang-pengkun <zhangliangpengkun@xfusion.com>
2023-11-06 15:40:01 +08:00

26 lines
823 B
Diff

From d0393ad626d25622927bb0ed47d35ddb2f6cd321 Mon Sep 17 00:00:00 2001
From: Eli Schwartz <eschwartz93@gmail.com>
Date: Fri, 27 Oct 2017 18:07:12 -0400
Subject: [PATCH] Specify python_requires to prevent installation on Python 3
(#67)
---
setup.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/setup.py b/setup.py
index ea0c022..eb43091 100755
--- a/setup.py
+++ b/setup.py
@@ -23,6 +23,7 @@ setup(name='futures',
maintainer_email='alex.gronholm+pypi@nextday.fi',
url='https://github.com/agronholm/pythonfutures',
packages=['concurrent', 'concurrent.futures'],
+ python_requires='>=2.6, <3',
license='PSF',
classifiers=['License :: OSI Approved :: Python Software Foundation License',
'Development Status :: 5 - Production/Stable',
--
2.39.0.windows.2