Commit 6386fd9
committed
Support multiple license files and submodule update
Update license initialization to support multiple license files and bump radarsimcpp submodule.
- Bump src/radarsimcpp submodule commit.
- Simplify package import: __init__.py now always calls initialize_license() (file detection moved into license module).
- Add libcpp.vector overload in radarsimc.pxd: Initialize(const vector[string]& license_file_paths) so C++ can accept multiple license paths.
- Implement multi-file search in license.pyx: when no path is provided, search for license_RadarSimPy_*.lic in the module dir and pass all found files to the C++ Initialize; if none found, pass empty string to enable free-tier mode. Imports for libcpp.vector, os, and glob were added and paths are encoded as UTF-8 before calling into C++.
These changes centralize auto-detection in the Cython layer and allow supplying multiple license files to the native license manager.1 parent d77cc24 commit 6386fd9
File tree
4 files changed
+24
-21
lines changed- src
- radarsimpy
- includes
4 files changed
+24
-21
lines changedSubmodule radarsimcpp updated from 7a758f3 to bb42246
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 55 | + | |
70 | 56 | | |
71 | 57 | | |
72 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
35 | | - | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | | - | |
51 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
52 | 69 | | |
53 | 70 | | |
54 | 71 | | |
55 | | - | |
56 | | - | |
| 72 | + | |
57 | 73 | | |
58 | 74 | | |
59 | 75 | | |
| |||
0 commit comments