Skip to content

Commit b30c231

Browse files
committed
Transition some required dependencies into optional ones
1 parent 9237c6a commit b30c231

File tree

2 files changed

+12
-20
lines changed

2 files changed

+12
-20
lines changed

requirements.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,22 +106,12 @@ pymysql==0.10.1;python_version<"3.6"
106106
pymysql==1.0.2;python_version>="3.6"
107107
pyotp==2.3.0;python_version<"3.6"
108108
pyotp==2.6.0;python_version>="3.6"
109-
boto==2.49.0
110109
cffi==1.15.1
111110
toml==0.10.2
112-
Pillow==6.2.2;python_version<"3.6"
113-
Pillow==8.4.0;python_version>="3.6" and python_version<"3.7"
114-
Pillow==9.2.0;python_version>="3.7"
115111
typing-extensions==3.10.0.2;python_version<"3.6"
116112
typing-extensions==4.1.1;python_version>="3.6" and python_version<"3.7"
117113
typing-extensions==4.2.0;python_version>="3.7" and python_version<"3.9"
118114
rich==12.5.1;python_version>="3.6" and python_version<"4.0"
119-
tornado==5.1.1;python_version<"3.6"
120-
tornado==6.1;python_version>="3.6" and python_version<"3.7"
121-
tornado==6.2;python_version>="3.7"
122-
pdfminer.six==20191110;python_version<"3.6"
123-
pdfminer.six==20211012;python_version>="3.6" and python_version<"3.7"
124-
pdfminer.six==20220524;python_version>="3.7"
125115

126116
# --- Testing Requirements --- #
127117
# ("pip install -r requirements.txt" also installs this, but "pip install -e ." won't.)

setup.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -231,22 +231,12 @@
231231
'pymysql==1.0.2;python_version>="3.6"',
232232
'pyotp==2.3.0;python_version<"3.6"',
233233
'pyotp==2.6.0;python_version>="3.6"',
234-
"boto==2.49.0",
235234
"cffi==1.15.1",
236235
"toml==0.10.2",
237-
'Pillow==6.2.2;python_version<"3.6"',
238-
'Pillow==8.4.0;python_version>="3.6" and python_version<"3.7"',
239-
'Pillow==9.2.0;python_version>="3.7"',
240236
'typing-extensions==3.10.0.2;python_version<"3.6"', # <3.9 for "rich"
241237
'typing-extensions==4.1.1;python_version>="3.6" and python_version<"3.7"', # noqa: E501
242238
'typing-extensions==4.2.0;python_version>="3.7" and python_version<"3.9"', # noqa: E501
243239
'rich==12.5.1;python_version>="3.6" and python_version<"4.0"',
244-
'tornado==5.1.1;python_version<"3.6"',
245-
'tornado==6.1;python_version>="3.6" and python_version<"3.7"',
246-
'tornado==6.2;python_version>="3.7"',
247-
'pdfminer.six==20191110;python_version<"3.6"',
248-
'pdfminer.six==20211012;python_version>="3.6" and python_version<"3.7"', # noqa: E501
249-
'pdfminer.six==20220524;python_version>="3.7"',
250240
],
251241
extras_require={
252242
# pip install -e .[coverage]
@@ -269,6 +259,18 @@
269259
'pycodestyle==2.5.0;python_version<"3.6"',
270260
'pycodestyle==2.8.0;python_version>="3.6"',
271261
],
262+
# pip install -e .[pdfminer]
263+
"pdfminer": [
264+
'pdfminer.six==20191110;python_version<"3.6"',
265+
'pdfminer.six==20211012;python_version>="3.6" and python_version<"3.7"', # noqa: E501
266+
'pdfminer.six==20220524;python_version>="3.7"',
267+
],
268+
# pip install -e .[pillow]
269+
"pillow": [
270+
'Pillow==6.2.2;python_version<"3.6"',
271+
'Pillow==8.4.0;python_version>="3.6" and python_version<"3.7"',
272+
'Pillow==9.2.0;python_version>="3.7"',
273+
],
272274
},
273275
packages=[
274276
"seleniumbase",

0 commit comments

Comments
 (0)