fosslight-source 2.1.14__py3-none-any.whl → 2.1.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fosslight_source/_scan_item.py +5 -2
- {fosslight_source-2.1.14.dist-info → fosslight_source-2.1.15.dist-info}/METADATA +16 -5
- {fosslight_source-2.1.14.dist-info → fosslight_source-2.1.15.dist-info}/RECORD +7 -7
- {fosslight_source-2.1.14.dist-info → fosslight_source-2.1.15.dist-info}/WHEEL +1 -1
- {fosslight_source-2.1.14.dist-info → fosslight_source-2.1.15.dist-info}/entry_points.txt +0 -0
- {fosslight_source-2.1.14.dist-info → fosslight_source-2.1.15.dist-info/licenses}/LICENSE +0 -0
- {fosslight_source-2.1.14.dist-info → fosslight_source-2.1.15.dist-info}/top_level.txt +0 -0
fosslight_source/_scan_item.py
CHANGED
|
@@ -151,10 +151,13 @@ def is_manifest_file(file_path: str) -> bool:
|
|
|
151
151
|
|
|
152
152
|
|
|
153
153
|
def is_package_dir(dir_path: str) -> bool:
|
|
154
|
-
|
|
154
|
+
# scancode and scanoss use '/' as path separator regardless of OS
|
|
155
|
+
dir_path = dir_path.replace('\\', '/')
|
|
156
|
+
path_parts = dir_path.split('/')
|
|
157
|
+
|
|
155
158
|
for pkg_dir in _package_directory:
|
|
156
159
|
if pkg_dir in path_parts:
|
|
157
160
|
pkg_index = path_parts.index(pkg_dir)
|
|
158
|
-
pkg_path =
|
|
161
|
+
pkg_path = '/'.join(path_parts[:pkg_index + 1])
|
|
159
162
|
return True, pkg_path
|
|
160
163
|
return False, ""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name:
|
|
3
|
-
Version: 2.1.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: fosslight_source
|
|
3
|
+
Version: 2.1.15
|
|
4
4
|
Summary: FOSSLight Source Scanner
|
|
5
5
|
Home-page: https://github.com/fosslight/fosslight_source_scanner
|
|
6
6
|
Download-URL: https://github.com/fosslight/fosslight_source_scanner
|
|
@@ -17,15 +17,26 @@ License-File: LICENSE
|
|
|
17
17
|
Requires-Dist: pyparsing
|
|
18
18
|
Requires-Dist: scanoss>=1.18.0
|
|
19
19
|
Requires-Dist: XlsxWriter
|
|
20
|
-
Requires-Dist:
|
|
20
|
+
Requires-Dist: fosslight_util>=2.1.10
|
|
21
21
|
Requires-Dist: PyYAML
|
|
22
22
|
Requires-Dist: wheel>=0.38.1
|
|
23
23
|
Requires-Dist: intbitset
|
|
24
|
-
Requires-Dist:
|
|
24
|
+
Requires-Dist: fosslight_binary>=5.0.0
|
|
25
25
|
Requires-Dist: scancode-toolkit>=32.0.2
|
|
26
26
|
Requires-Dist: fingerprints==1.2.3
|
|
27
27
|
Requires-Dist: normality==2.6.1
|
|
28
28
|
Requires-Dist: click==8.2.1
|
|
29
|
+
Dynamic: author
|
|
30
|
+
Dynamic: classifier
|
|
31
|
+
Dynamic: description
|
|
32
|
+
Dynamic: description-content-type
|
|
33
|
+
Dynamic: download-url
|
|
34
|
+
Dynamic: home-page
|
|
35
|
+
Dynamic: license
|
|
36
|
+
Dynamic: license-file
|
|
37
|
+
Dynamic: requires-dist
|
|
38
|
+
Dynamic: requires-python
|
|
39
|
+
Dynamic: summary
|
|
29
40
|
|
|
30
41
|
<!--
|
|
31
42
|
Copyright (c) 2021 LG Electronics
|
|
@@ -3,14 +3,14 @@ fosslight_source/_help.py,sha256=q3eKABhBrz8hvWSvmLVszStNpL18TCYLnUuefaU4V-M,201
|
|
|
3
3
|
fosslight_source/_license_matched.py,sha256=-3H881XQjFDafRttBsuboS3VbCPYEvPH1pwWXptknE4,2164
|
|
4
4
|
fosslight_source/_parsing_scancode_file_item.py,sha256=Nok9bZRH2oBCORb4LTx0skGLxpw_u4fNmvaVL5YheQw,16089
|
|
5
5
|
fosslight_source/_parsing_scanoss_file.py,sha256=0f5JzjnFU-kcPZRX7OKnextyvANjKwwNZeyCJVC7eME,4624
|
|
6
|
-
fosslight_source/_scan_item.py,sha256=
|
|
6
|
+
fosslight_source/_scan_item.py,sha256=plk1OGL7Fc2HcXV5EEIuVXv5ifYRAPAbNK-Usysd4ZY,6535
|
|
7
7
|
fosslight_source/cli.py,sha256=2TuHZvDKUp8R12DM9gesTF23RT7OBw968AdzNLtVanU,16650
|
|
8
8
|
fosslight_source/run_scancode.py,sha256=YSzLoS4p-Kge91uQpI4483ZfiapF-3umgJHggxKtiuU,7220
|
|
9
9
|
fosslight_source/run_scanoss.py,sha256=8wu3sa-YBqjfb5x2dbDJuAdw3rrExueOW23WdzqDCaU,5721
|
|
10
10
|
fosslight_source/run_spdx_extractor.py,sha256=Hr9sTv06cJaVITy8amwexIW2FV8_rUcFw6hKmR9ZYws,1990
|
|
11
|
-
fosslight_source-2.1.
|
|
12
|
-
fosslight_source-2.1.
|
|
13
|
-
fosslight_source-2.1.
|
|
14
|
-
fosslight_source-2.1.
|
|
15
|
-
fosslight_source-2.1.
|
|
16
|
-
fosslight_source-2.1.
|
|
11
|
+
fosslight_source-2.1.15.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
12
|
+
fosslight_source-2.1.15.dist-info/METADATA,sha256=Tb0sQzTd5KvknuSazowa4IST7WgS03rur1vg9jgnf4s,3558
|
|
13
|
+
fosslight_source-2.1.15.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
|
14
|
+
fosslight_source-2.1.15.dist-info/entry_points.txt,sha256=G4bBRWqSrJ68g-2M-JtNDrSZsdym_M7_KohQ2qR1vG8,113
|
|
15
|
+
fosslight_source-2.1.15.dist-info/top_level.txt,sha256=C2vw-0OIent84Vq-UEk1gt_kK1EL8dIItzBzp3WNyA4,17
|
|
16
|
+
fosslight_source-2.1.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|