Skip to content

Commit

Permalink
Use environment marker to specify typing dependency (#661)
Browse files Browse the repository at this point in the history
Fixes #660
  • Loading branch information
gcarq authored and Guido van Rossum committed Aug 1, 2019
1 parent f4e7b23 commit f254d69
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions typing_extensions/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@
else:
raise AssertionError()

install_requires = []
if sys.version_info < (3, 5):
install_requires.append('typing >= 3.7.4')

setup(name='typing_extensions',
version=version,
description=description,
Expand All @@ -68,4 +64,4 @@
package_dir={'': package_dir},
py_modules=['typing_extensions'],
classifiers=classifiers,
install_requires=install_requires)
install_requires=["typing >= 3.7.4; python_version < '3.5'"])

0 comments on commit f254d69

Please sign in to comment.