Skip to content

Commit e15af1f

Browse files
committed
Set 'typing' package to be installed only on Python 2.7. This fixes the import issue raised
Python 3.7, on using the 'typing 3.6'.
1 parent 44bc8da commit e15af1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"Topic :: System :: Filesystems",
2323
]
2424

25-
REQUIREMENTS = ["appdirs~=1.4.3", "pytz", "setuptools", "six~=1.10", "typing;python_version=='2.7'"]
25+
REQUIREMENTS = ["appdirs~=1.4.3", "pytz", "setuptools", "six~=1.10", "typing; python_version < '3.5'"]
26+
2627

2728
setup(
2829
author="Will McGugan",

0 commit comments

Comments
 (0)