Fix install dependency for python3.4

Add install dependency for "typing" backport if using anything older than Python3.5
This commit is contained in:
Alex Mykyta 2018-11-15 20:05:30 -08:00
parent f08de81805
commit 2a3530f513
2 changed files with 4 additions and 0 deletions

View File

@ -207,3 +207,4 @@ YYYY/MM/DD, github id, Full name, email
2018/10/29, chrisaycock, Christopher Aycock, chris[at]chrisaycock[dot]com
2018/11/12, vinoski, Steve Vinoski, vinoski@ieee.org
2018/11/14, nxtstep, Adriaan (Arjan) Duz, codewithadriaan[et]gmail[dot]com
2018/11/15, amykyta3, Alex Mykyta, amykyta3@users.noreply.github.com

View File

@ -5,6 +5,9 @@ setup(
version='4.7.1',
packages=['antlr4', 'antlr4.atn', 'antlr4.dfa', 'antlr4.tree', 'antlr4.error', 'antlr4.xpath'],
package_dir={'': 'src'},
install_requires=[
"typing ; python_version<'3.5'",
],
url='http://www.antlr.org',
license='BSD',
author='Eric Vergnaud, Terence Parr, Sam Harwell',