Skip to content

Commit

Permalink
Merge pull request #2276 from nexB/2233-add-external-repos
Browse files Browse the repository at this point in the history
Add new *code external libraries #2233
  • Loading branch information
pombredanne authored Oct 14, 2020
2 parents f604cf4 + 1fab3c6 commit fba7647
Show file tree
Hide file tree
Showing 1,368 changed files with 1,216 additions and 301,288 deletions.
2 changes: 1 addition & 1 deletion etc/conf/requirements_base.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-e .
-e .[full]
34 changes: 18 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,20 +142,16 @@ def read(*names, **kwargs):
'publicsuffix2',
'fingerprints >= 0.6.0, < 1.0.0',

# extractcode
'patch >= 1.15, < 1.20 ',
# to work around bug http://bugs.python.org/issue19839
# on multistream bzip2 files: this can removed in Python 3.
'bz2file >= 0.98; python_version < "3"',
'extractcode_libarchive',
'extractcode_7z',

# commoncode
'commoncode >= 20.09',
'backports.os == 0.1.1; python_version < "3"',

'future >= 0.16.0',
'text_unidecode >= 1.0, < 2.0',
'saneyaml',

# plugincode
'plugincode',

# licensedcode
'bitarray >= 0.8.1, < 1.0.0',
'intbitset >= 2.3.0, < 3.0',
Expand All @@ -172,13 +168,10 @@ def read(*names, **kwargs):
'six',
'pdfminer.six >= 20170720',
'pycryptodome >= 3.4',
'chardet >= 3.0.0, <4.0.0',

# typecode
'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',
'typecode',

# packagedcode
'debut >= 0.9.4',
Expand All @@ -192,6 +185,7 @@ def read(*names, **kwargs):
'gemfileparser >= 0.7.0',
'pkginfo >= 1.5.0.1',
'dparse2',
'pygments >= 2.4.2, <2.5.1',

# used to fix mojibake in Windows PE
# for now we use the evrsion that works on both Python 2 and 3
Expand All @@ -217,11 +211,19 @@ def read(*names, **kwargs):
'contextlib2', 'pytz', 'tempora', 'jaraco.functools',
'zc.lockfile >= 2.0.0, < 3.0.0',
],


extras_require={
'full': [
'extractcode',
'extractcode_7z',
'extractcode_libarchive',
'typecode_libmagic',
],
},

entry_points={
'console_scripts': [
'scancode = scancode.cli:scancode',
'extractcode = extractcode.cli:extractcode',
],

# scancode_pre_scan is the entry point for pre_scan plugins executed
Expand Down
49 changes: 0 additions & 49 deletions src/commoncode/__init__.py

This file was deleted.

168 changes: 0 additions & 168 deletions src/commoncode/archive.py

This file was deleted.

Loading

0 comments on commit fba7647

Please sign in to comment.