A ROS package providing CMake functions to install Python packages and modules, simplifying Python integration in ROS builds.
Project description
Built using https://github.com/ycheng517/ros-python-wheels.
ament_cmake_python
This package adds functions for installing Python packages and modules in CMake.
API
Calling find_package(ament_cmake_python) will make the following API available.
ament_get_python_install_dir
The CMake function ament_get_python_install_dir gets the path Python packages will be installed to.
The path is always relative to CMAKE_INSTALL_PREFIX.
The path can be customized by setting PYTHON_INSTALL_DIR on the command line.
It must be a relative path.
For example, the cmake command bellow would cause Python code to be installed to ${CMAKE_INSTALL_PREFIX}/foobar/site-packages.
$ cmake ../path/to/package/using/ament_cmake_python -DPYTHON_INSTALL_DIR=foobar/site-packages
ament_python_install_module
The CMake macro ament_python_install_module will install a single Python module to the Python install directory.
ament_python_install_package
The CMake macro ament_python_install_package will install a Python package and all subpackages to the Python install directory.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ros_ament_cmake_python-2.7.3-cp314-cp314t-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: ros_ament_cmake_python-2.7.3-cp314-cp314t-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 22.2 kB
- Tags: CPython 3.14t, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b6ed662b48f5fe69922b003450a83b582cbb75eb9664dc37d4337ca98287535
|
|
| MD5 |
eb589c54630dccdb2375c7621196d065
|
|
| BLAKE2b-256 |
05427549760f9f3d90065ed3ac051c7788d45504650b204bdc716b5c9119b2a7
|
File details
Details for the file ros_ament_cmake_python-2.7.3-cp314-cp314-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: ros_ament_cmake_python-2.7.3-cp314-cp314-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 22.2 kB
- Tags: CPython 3.14, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a80e73e28ef663ab34a9d85c1179134b560de53abe0f5d005c8bf8dd17a26da
|
|
| MD5 |
84b490a6729930b85cd606f9c51c67ef
|
|
| BLAKE2b-256 |
54d9d59447dba019e8ebcefdc61926e8bb612fc3a055b9e075d335102ddd5b57
|
File details
Details for the file ros_ament_cmake_python-2.7.3-cp313-cp313-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: ros_ament_cmake_python-2.7.3-cp313-cp313-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 22.2 kB
- Tags: CPython 3.13, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e026df72ed9a3c0f0a41a546b890c67244e3d5da06c5eb11f681ffc4826ba5f
|
|
| MD5 |
815349ef6e3a135d516a37cf2590468d
|
|
| BLAKE2b-256 |
be257ec39adb8d3da67bc1429120f94375bb49403794bdbaca55c7b1c15c2229
|
File details
Details for the file ros_ament_cmake_python-2.7.3-cp312-cp312-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: ros_ament_cmake_python-2.7.3-cp312-cp312-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 22.2 kB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd5b80a80490913d9a6ccd18a62bdfcea4dddd1baed0a0c17a8de72ace1a9e22
|
|
| MD5 |
bc2bcc1848786f6f003836f278f56b5b
|
|
| BLAKE2b-256 |
c6806cb33f48097fecf6c4ff890794abc21dcbaed8edefb4bd1e5fcb8710d81c
|
File details
Details for the file ros_ament_cmake_python-2.7.3-cp311-cp311-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: ros_ament_cmake_python-2.7.3-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 22.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94f08d1794b63b5fc27eda2bb8e6d3a14a1cf0fcdc1ca439ddd532cfebb16b3a
|
|
| MD5 |
1feed3b3abc79330610e3997c43f5e0d
|
|
| BLAKE2b-256 |
1ab2a82a19177615665089b57bb5b9387122b9aec13829d80b5244885941d0b6
|
File details
Details for the file ros_ament_cmake_python-2.7.3-cp310-cp310-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: ros_ament_cmake_python-2.7.3-cp310-cp310-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 22.2 kB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a55a855a312064f120c29e0393c34b0781b085768001b43e2f90629a657d629a
|
|
| MD5 |
b02918ea5e3fe62d4cdb7e0da12f7e5a
|
|
| BLAKE2b-256 |
99d09bbadda9a4cf9722bec2888eaa0ad44b2d9839f9b4201c27068e4f544efb
|