summaryrefslogtreecommitdiff
path: root/textproc/scancode-toolkit/files/patch-setup.py
blob: 6007ce6cde6ad14a57e208c06b37430895b10cb5 (plain) (blame)
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
41
42
43
44
45
46
47
48
49
--- setup.py.orig	2019-02-15 14:34:52 UTC
+++ setup.py
@@ -125,9 +125,7 @@ setup(
         # cluecode
         # Some nltk version ranges are buggy
         'nltk >= 3.2, < 4.0',
-        'publicsuffix2',
-        'py2-ipaddress >= 2.0, <3.5',
-        'url >= 0.1.4, < 0.1.6',
+        'url >= 0.1.4',
         'fingerprints == 0.5.4',
 
         # extractcode
@@ -135,15 +133,13 @@ setup(
         # to work around bug http://bugs.python.org/issue19839
         # on multistream bzip2 files: this can removed in Python 3.
         'bz2file >= 0.98',
-        'extractcode-libarchive',
-        'extractcode-7z',
 
         # commoncode
         'backports.os == 0.1.1',
-        'future == 0.16.0',
+        'future >= 0.16.0',
         'text-unidecode >= 1.0, < 2.0',
         # required by saneyaml
-        'PyYAML >= 3.11, <=3.13',
+        'PyYAML >= 3.11',
         'saneyaml',
 
         # licensedcode
@@ -167,8 +163,7 @@ setup(
         'binaryornot >= 0.4.0',
         'chardet >= 3.0.0, <4.0.0',
         # note that we use a short version range because we use a simpler lexer list
-        'pygments >= 2.2.0, <2.3',
-        'typecode-libmagic',
+        'pygments >= 2.2.0',
 
         # packagedcode
         'pefile >= 2018.8.8',
@@ -183,7 +178,6 @@ setup(
         'colorama >= 0.3.9',
         'pluggy >= 0.4.0, < 1.0',
         'attrs >=17.4, < 19.0',
-        'cattrs',
         'typing >=3.6, < 3.7',
 
         # scancode outputs