pyxcp 0.22.3__tar.gz → 0.22.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.
Potentially problematic release.
This version of pyxcp might be problematic. Click here for more details.
- {pyxcp-0.22.3 → pyxcp-0.22.5}/CMakeLists.txt +4 -1
- {pyxcp-0.22.3 → pyxcp-0.22.5}/PKG-INFO +1 -1
- {pyxcp-0.22.3 → pyxcp-0.22.5}/build_ext.py +12 -5
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyproject.toml +1 -1
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/__init__.py +1 -1
- {pyxcp-0.22.3 → pyxcp-0.22.5}/LICENSE +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/README.md +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/EtasCANMonitoring.a2l +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/EtasCANMonitoring.aml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/XCP_Common.aml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/XCPonCAN.aml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/XCPonEth.aml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/XCPonFlx.aml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/XCPonSxI.aml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/XCPonUSB.aml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/ifdata_CAN.a2l +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/ifdata_Eth.a2l +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/ifdata_Flx.a2l +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/ifdata_SxI.a2l +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/aml/ifdata_USB.a2l +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/asam/__init__.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/asam/types.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/asamkeydll.c +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/asamkeydll.sh +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/checksum.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/cmdline.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/config/__init__.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/config/legacy.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/constants.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/cpp_ext/__init__.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/cpp_ext/bin.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/cpp_ext/blockmem.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/cpp_ext/daqlist.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/cpp_ext/event.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/cpp_ext/extension_wrapper.cpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/cpp_ext/helper.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/cpp_ext/mcobject.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/cpp_ext/tsqueue.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/daq_stim/__init__.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/daq_stim/optimize/__init__.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/daq_stim/optimize/binpacking.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/daq_stim/scheduler.cpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/daq_stim/scheduler.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/daq_stim/stim.cpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/daq_stim/stim.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/daq_stim/stim_wrapper.cpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/dllif.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/errormatrix.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/conf_can.toml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/conf_can_user.toml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/conf_can_vector.json +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/conf_can_vector.toml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/conf_eth.toml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/conf_nixnet.json +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/conf_socket_can.toml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/conf_sxi.json +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/conf_sxi.toml +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/ex_arrow.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/ex_mdf.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/ex_sqlite.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/run_daq.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/xcp_policy.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/xcp_read_benchmark.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/xcp_skel.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/xcp_unlock.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/xcp_user_supplied_driver.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/xcphello.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/examples/xcphello_recorder.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/master/__init__.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/master/errorhandler.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/master/master.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/py.typed +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/__init__.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/build_clang.cmd +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/build_clang.sh +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/build_gcc.cmd +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/build_gcc.sh +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/build_gcc_arm.sh +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/converter/__init__.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/lz4.c +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/lz4.h +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/lz4hc.c +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/lz4hc.h +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/mio.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/reader.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/reco.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/recorder.rst +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/rekorder.cpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/rekorder.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/setup.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/test_reko.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/unfolder.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/wrap.cpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/recorder/writer.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/scripts/__init__.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/scripts/pyxcp_probe_can_drivers.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/scripts/xcp_fetch_a2l.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/scripts/xcp_id_scanner.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/scripts/xcp_info.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/scripts/xcp_profile.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/stim/__init__.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/tests/test_asam_types.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/tests/test_binpacking.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/tests/test_can.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/tests/test_checksum.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/tests/test_daq.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/tests/test_frame_padding.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/tests/test_master.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/tests/test_transport.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/tests/test_utils.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/timing.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/transport/__init__.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/transport/base.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/transport/base_transport.hpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/transport/can.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/transport/eth.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/transport/sxi.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/transport/transport_wrapper.cpp +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/transport/usb_transport.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/types.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/utils.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/vector/__init__.py +0 -0
- {pyxcp-0.22.3 → pyxcp-0.22.5}/pyxcp/vector/map.py +0 -0
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
cmake_minimum_required(VERSION 3.20...3.30)
|
|
3
3
|
project(pyxcp_extensions LANGUAGES C CXX)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
if(POLICY CMP0135)
|
|
7
|
+
cmake_policy(SET CMP0135 NEW)
|
|
8
|
+
endif()
|
|
6
9
|
cmake_policy(SET CMP0094 NEW)
|
|
7
10
|
|
|
8
11
|
find_package(Python3 COMPONENTS Interpreter Development)
|
|
@@ -60,7 +60,10 @@ def get_py_config() -> dict:
|
|
|
60
60
|
arch = None
|
|
61
61
|
if uname.system == "Linux":
|
|
62
62
|
arch = VARS.get("MULTIARCH", "")
|
|
63
|
+
found = False
|
|
63
64
|
for dir_var in DIR_VARS:
|
|
65
|
+
if found:
|
|
66
|
+
break
|
|
64
67
|
dir_name = VARS.get(dir_var)
|
|
65
68
|
if not dir_name:
|
|
66
69
|
continue
|
|
@@ -71,12 +74,15 @@ def get_py_config() -> dict:
|
|
|
71
74
|
else:
|
|
72
75
|
print("PF?", uname.system)
|
|
73
76
|
for fp in full_path:
|
|
77
|
+
print(f"Trying '{fp}'")
|
|
74
78
|
if fp.exists():
|
|
75
|
-
print(f"found Python library: '{
|
|
76
|
-
libdir =
|
|
79
|
+
print(f"found Python library: '{fp}'")
|
|
80
|
+
libdir = str(fp.parent)
|
|
81
|
+
found = True
|
|
77
82
|
break
|
|
78
|
-
|
|
79
|
-
|
|
83
|
+
if not found:
|
|
84
|
+
print("Could NOT locate Python library.")
|
|
85
|
+
return dict(exe=sys.executable, include=include, libdir="", library=library)
|
|
80
86
|
return dict(exe=sys.executable, include=include, libdir=libdir, library=library)
|
|
81
87
|
|
|
82
88
|
|
|
@@ -98,9 +104,10 @@ def build_extension(debug: bool = False, use_temp_dir: bool = False) -> None:
|
|
|
98
104
|
cmake_args = [
|
|
99
105
|
f"-DPython3_EXECUTABLE={py_cfg['exe']}",
|
|
100
106
|
f"-DPython3_INCLUDE_DIR={py_cfg['include']}",
|
|
101
|
-
f"-DPython3_LIBRARY={str(Path(py_cfg['libdir']) / Path(py_cfg['library']))}",
|
|
102
107
|
f"-DCMAKE_BUILD_TYPE={cfg}", # not used on MSVC, but no harm
|
|
103
108
|
]
|
|
109
|
+
if py_cfg["libdir"]:
|
|
110
|
+
cmake_args.append(f"-DPython3_LIBRARY={str(Path(py_cfg['libdir']) / Path(py_cfg['library']))}")
|
|
104
111
|
|
|
105
112
|
build_args = ["--config Release", "--verbose"]
|
|
106
113
|
# cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 /path/to/src
|
|
@@ -36,7 +36,7 @@ dynamic = ["license", "readme", "authors", "requires-python", "description", "cl
|
|
|
36
36
|
[tool.poetry]
|
|
37
37
|
authors = ["Christoph Schueler <cpu.gems@googlemail.com>"]
|
|
38
38
|
name = "pyxcp"
|
|
39
|
-
version = "0.22.
|
|
39
|
+
version = "0.22.5"
|
|
40
40
|
readme = "README.md"
|
|
41
41
|
description = "Universal Calibration Protocol for Python"
|
|
42
42
|
keywords = ["automotive", "ecu", "xcp", "asam", "autosar"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|