Skip to content

Commit

Permalink
Only require 'typing' for Python before 3.5 (#115)
Browse files Browse the repository at this point in the history
Fixes #104
  • Loading branch information
jameysharp authored and rizsotto committed Jul 10, 2019
1 parent d618a8f commit 770fec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
typing; python_version <= '3.5'
typing; python_version < '3.5'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
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']},
Expand Down

0 comments on commit 770fec2

Please sign in to comment.