Drop patch, no longer needed.

This commit is contained in:
Håvard Flaget Aasen 2021-11-28 18:39:44 +01:00
parent aaaee62067
commit 9f96834e2e
No known key found for this signature in database
GPG key ID: F9377598F04C830A
2 changed files with 0 additions and 47 deletions

View file

@ -1,46 +0,0 @@
From 97c8c550c212e571b1c1ec8a2feffc620d80aaa6 Mon Sep 17 00:00:00 2001
From: Filip Pytloun <filip@pytloun.cz>
Date: Fri, 12 Aug 2016 11:23:17 +0200
Subject: Fix conditional dependency on futures
---
setup.py | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/setup.py b/setup.py
index 1b3d84f..0f7cd9c 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python
+import sys
import ast
import re
@@ -11,6 +12,13 @@ with open('click_threading/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
+INSTALL_REQUIRES = [
+ 'click>=5.0',
+]
+
+if sys.version_info[0] == 2:
+ INSTALL_REQUIRES.append('futures')
+
setup(
name='click-threading',
version=version,
@@ -20,10 +28,5 @@ setup(
url='https://github.com/click-contrib/click-threading',
license='MIT',
packages=['click_threading'],
- install_requires=[
- 'click>=5.0',
- ],
- extras_require={
- ':python_version < "3.2"': 'futures'
- }
+ install_requires=INSTALL_REQUIRES
)

View file

@ -1 +0,0 @@
0001-Fix-conditional-dependency-on-futures.patch