Skip to content

Commit

Permalink
Move typing-extensions requirement to new types extra
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Apr 5, 2022
1 parent e5fe8f1 commit ca7f554
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ To use the `tweepy.asynchronous` subpackage, be sure to install with the

pip install tweepy[async]

For type hint dependencies, install with the `types` extra.

You can also use Git to clone the repository from GitHub to install the latest
development version:

Expand Down
2 changes: 2 additions & 0 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ To use the ``tweepy.asynchronous`` subpackage, be sure to install with the

pip install tweepy[async]

For type hint dependencies, install with the ``types`` extra.

You can also use Git to clone the repository from GitHub to install the latest
development version::

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"oauthlib>=3.2.0,<4",
"requests>=2.27.0,<3",
"requests-oauthlib>=1.2.0,<2",
"typing-extensions>=4.0,<5"
],
tests_require=tests_require,
extras_require={
Expand All @@ -52,6 +51,7 @@
],
"socks": ["requests[socks]>=2.27.0,<3"],
"test": tests_require,
"types": ["typing-extensions>=4.0,<5"],
},
test_suite="tests",
keywords="twitter library",
Expand Down

0 comments on commit ca7f554

Please sign in to comment.