Skip to content

Commit

Permalink
Optionally install typing_extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Oct 9, 2022
1 parent f3e0f53 commit 0354721
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ def get_version_and_cmdclass(package_name):
"cloudpickle",
"loky >= 2.9",
]
if sys.version_info < (3, 8):
install_requires.append("typing_extensions")

extras_require = {
"notebook": [
Expand Down Expand Up @@ -78,6 +80,7 @@ def get_version_and_cmdclass(package_name):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
packages=find_packages("."),
install_requires=install_requires,
Expand Down

0 comments on commit 0354721

Please sign in to comment.