diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-16 12:24:49 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-16 12:24:49 +0000 |
| commit | 001316841e88cf9ed0e3da77443a84479e77651c (patch) | |
| tree | ecd02dad4b55cc046f2f011b44bf834c0880a9b0 | |
| parent | d7eecec27e4d8eb525a25b778a74c19fb33f37ca (diff) | |
automatic import of ros-humble-pointcloud-to-plyopeneuler24.03_LTS_SP3
| -rw-r--r-- | pointcloud-to-ply.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pointcloud-to-ply.spec b/pointcloud-to-ply.spec index 03af709..4c6c3de 100644 --- a/pointcloud-to-ply.spec +++ b/pointcloud-to-ply.spec @@ -26,6 +26,7 @@ BuildRequires: ros-%{ros_distro}-sensor-msgs BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip +BuildRequires: python3-wheel BuildRequires: python3-numpy # 所有 ROS 包强制 @@ -50,7 +51,8 @@ Subscribe to a PointCloud2 topic, reconstruct a mesh, and save to OBJ/PLY. source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH} export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} -%{__python3} -m pip wheel --no-deps --no-build-isolation -w dist . +mkdir -p dist +%{__python3} setup.py bdist_wheel --dist-dir dist %install source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true |
