Skip to content

Commit 213b630

Browse files
mgalletcyberdelia
authored andcommitted
Remove useless requirement on Python 3.2+
1 parent c360a2a commit 213b630

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

setup.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
import io
33

44
from setuptools import setup, find_packages
5+
import sys
56

7+
install_requires = []
8+
if (sys.version_info[0], sys.version_info[1]) < (3, 2):
9+
install_requires.append('futures>=2.1.3')
610

711
setup(
812
name='django-pipeline',
@@ -16,9 +20,7 @@
1620
license='MIT',
1721
packages=find_packages(exclude=['tests', 'tests.tests']),
1822
zip_safe=False,
19-
install_requires=[
20-
'futures>=2.1.3',
21-
],
23+
install_requires=install_requires,
2224
include_package_data=True,
2325
classifiers=[
2426
'Environment :: Web Environment',

0 commit comments

Comments
 (0)