|
12 | 12 | from spdx_tools.spdx.parser.parse_anything import parse_file
|
13 | 13 | from spdx_tools.spdx.validation.document_validator import validate_full_spdx_document
|
14 | 14 |
|
15 |
| -from ..opossum.opossum_file import ( |
| 15 | +from opossum_lib.opossum.opossum_file import ( |
16 | 16 | ExternalAttributionSource,
|
17 | 17 | Metadata,
|
18 | 18 | OpossumInformation,
|
|
22 | 22 | ResourceType,
|
23 | 23 | SourceInfo,
|
24 | 24 | )
|
25 |
| -from .attribution_generation import ( |
| 25 | +from opossum_lib.spdx.attribution_generation import ( |
26 | 26 | create_document_attribution,
|
27 | 27 | create_file_attribution,
|
28 | 28 | create_package_attribution,
|
29 | 29 | create_snippet_attribution,
|
30 | 30 | )
|
31 |
| -from .constants import ( |
| 31 | +from opossum_lib.spdx.constants import ( |
32 | 32 | SPDX_FILE_IDENTIFIER,
|
33 | 33 | SPDX_PACKAGE_IDENTIFIER,
|
34 | 34 | SPDX_SNIPPET_IDENTIFIER,
|
35 | 35 | )
|
36 |
| -from .graph_generation import generate_graph_from_spdx |
37 |
| -from .helper_methods import ( |
| 36 | +from opossum_lib.spdx.graph_generation import generate_graph_from_spdx |
| 37 | +from opossum_lib.spdx.helper_methods import ( |
38 | 38 | _create_file_path_from_graph_path,
|
39 | 39 | _get_source_for_graph_traversal,
|
40 | 40 | _node_represents_a_spdx_element,
|
41 | 41 | _replace_node_ids_with_labels_and_add_resource_type,
|
42 | 42 | _weakly_connected_component_sub_graphs,
|
43 | 43 | )
|
44 |
| -from .tree_generation import generate_tree_from_graph |
| 44 | +from opossum_lib.spdx.tree_generation import generate_tree_from_graph |
45 | 45 |
|
46 | 46 |
|
47 | 47 | def convert_spdx_to_opossum_information(filename: str) -> OpossumInformation:
|
|
0 commit comments