summarylogtreecommitdiffstats
path: root/make-dependencies-optional.patch
blob: 1a1505cd6994b64f5731c52440e994a15d8edd57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff --git a/requirements/python b/requirements/python
index 01b7610..583a56e 100644
--- a/requirements/python
+++ b/requirements/python
@@ -1,13 +1,6 @@
 # This file contains all python dependencies that are required by the textract
 # package in order for it to properly work.
 
-argcomplete~=1.10.0
-beautifulsoup4~=4.8.0
-chardet==3.*
-docx2txt~=0.8
-extract-msg<=0.29.* #Last with python2 support
-pdfminer.six==20191110 #Last with python2 support
-python-pptx~=0.6.18
-six~=1.12.0
-SpeechRecognition~=3.8.1
-xlrd~=1.2.0
+argcomplete
+chardet
+six
diff --git a/setup.py b/setup.py
index 2a8dbb9..362e39a 100644
--- a/setup.py
+++ b/setup.py
@@ -57,7 +57,13 @@ setup(
     ],
     install_requires=dependencies,
     extras_require={
-        "pocketsphinx": ["pocketsphinx==0.1.15"]
+        "pocketsphinx": ["pocketsphinx"],
+        "beautifulsoup4": ["beautifulsoup4"],
+        "docx2txt": ["docx2txt"],
+        "pdfminer.six": ["pdfminer.six"],
+        "python-pptx": ["python-pptx"],
+        "SpeechRecognition": ["SpeechRecognition"],
+        "xlrd": ["xlrd"],
     },
     dependency_links=dependency_links,
     zip_safe=False,