fosslight-source 2.1.3__tar.gz → 2.1.5__tar.gz
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-2.1.3 → fosslight_source-2.1.5}/PKG-INFO +1 -1
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/requirements.txt +1 -1
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/setup.py +1 -1
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source/cli.py +8 -5
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source.egg-info/PKG-INFO +1 -1
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source.egg-info/requires.txt +1 -1
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/LICENSE +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/MANIFEST.in +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/README.md +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/setup.cfg +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source/__init__.py +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source/_help.py +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source/_license_matched.py +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source/_parsing_scancode_file_item.py +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source/_parsing_scanoss_file.py +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source/_scan_item.py +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source/run_scancode.py +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source/run_scanoss.py +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source/run_spdx_extractor.py +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source.egg-info/SOURCES.txt +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source.egg-info/dependency_links.txt +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source.egg-info/entry_points.txt +0 -0
- {fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source.egg-info/top_level.txt +0 -0
|
@@ -14,7 +14,7 @@ with open('requirements.txt', 'r', 'utf-8') as f:
|
|
|
14
14
|
if __name__ == "__main__":
|
|
15
15
|
setup(
|
|
16
16
|
name='fosslight_source',
|
|
17
|
-
version='2.1.
|
|
17
|
+
version='2.1.5',
|
|
18
18
|
package_dir={"": "src"},
|
|
19
19
|
packages=find_packages(where='src'),
|
|
20
20
|
description='FOSSLight Source Scanner',
|
|
@@ -174,12 +174,15 @@ def create_report_file(
|
|
|
174
174
|
for i, output_extension in enumerate(output_extensions):
|
|
175
175
|
if output_files[i] is None or output_files[i] == "":
|
|
176
176
|
if formats:
|
|
177
|
-
if formats[i].startswith('spdx'):
|
|
178
|
-
if platform.system()
|
|
179
|
-
|
|
180
|
-
else:
|
|
181
|
-
logger.warning('spdx format is not supported on Windows. Please remove spdx from format.')
|
|
177
|
+
if formats[i].startswith('spdx') or formats[i].startswith('cyclonedx'):
|
|
178
|
+
if platform.system() == 'Windows':
|
|
179
|
+
logger.warning(f'{formats[i]} is not supported on Windows.Please remove {formats[i]} from format.')
|
|
182
180
|
to_remove.append(i)
|
|
181
|
+
else:
|
|
182
|
+
if formats[i].startswith('spdx'):
|
|
183
|
+
output_files[i] = f"fosslight_spdx_src_{_start_time}"
|
|
184
|
+
elif formats[i].startswith('cyclonedx'):
|
|
185
|
+
output_files[i] = f'fosslight_cyclonedx_src_{_start_time}'
|
|
183
186
|
else:
|
|
184
187
|
if output_extension == _json_ext:
|
|
185
188
|
output_files[i] = f"fosslight_opossum_src_{_start_time}"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source/_parsing_scanoss_file.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source/run_spdx_extractor.py
RENAMED
|
File without changes
|
|
File without changes
|
{fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{fosslight_source-2.1.3 → fosslight_source-2.1.5}/src/fosslight_source.egg-info/top_level.txt
RENAMED
|
File without changes
|