Only require 'typing' for Python before 3.5 (#115)

Fixes #104
This commit is contained in:
Jamey Sharp
2019-07-10 02:42:50 -07:00
committed by László Nagy
parent d618a8f502
commit 770fec2419
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
typing; python_version <= '3.5'
typing; python_version < '3.5'

View File

@@ -14,7 +14,7 @@ setup(
description='static code analyzer wrapper for Clang.',
long_description=open('README.rst').read(),
zip_safe=False,
install_requires=['typing'],
install_requires=['typing; python_version < "3.5"'],
packages=['libscanbuild', 'libear'],
package_data={'libscanbuild': ['resources/*'],
'libear': ['config.h.in', 'ear.c']},