Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ros_ament_cmake_python-2.7.3-cp314-cp314t-manylinux_2_28_x86_64.whl (22.2 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

ros_ament_cmake_python-2.7.3-cp314-cp314-manylinux_2_28_x86_64.whl (22.2 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

ros_ament_cmake_python-2.7.3-cp313-cp313-manylinux_2_28_x86_64.whl (22.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

ros_ament_cmake_python-2.7.3-cp312-cp312-manylinux_2_28_x86_64.whl (22.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

ros_ament_cmake_python-2.7.3-cp311-cp311-manylinux_2_28_x86_64.whl (22.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

ros_ament_cmake_python-2.7.3-cp310-cp310-manylinux_2_28_x86_64.whl (22.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

Details for the file ros_ament_cmake_python-2.7.3-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ros_ament_cmake_python-2.7.3-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7b6ed662b48f5fe69922b003450a83b582cbb75eb9664dc37d4337ca98287535
MD5 eb589c54630dccdb2375c7621196d065
BLAKE2b-256 05427549760f9f3d90065ed3ac051c7788d45504650b204bdc716b5c9119b2a7

See more details on using hashes here.

File details

Details for the file ros_ament_cmake_python-2.7.3-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ros_ament_cmake_python-2.7.3-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1a80e73e28ef663ab34a9d85c1179134b560de53abe0f5d005c8bf8dd17a26da
MD5 84b490a6729930b85cd606f9c51c67ef
BLAKE2b-256 54d9d59447dba019e8ebcefdc61926e8bb612fc3a055b9e075d335102ddd5b57

See more details on using hashes here.

File details

Details for the file ros_ament_cmake_python-2.7.3-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ros_ament_cmake_python-2.7.3-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9e026df72ed9a3c0f0a41a546b890c67244e3d5da06c5eb11f681ffc4826ba5f
MD5 815349ef6e3a135d516a37cf2590468d
BLAKE2b-256 be257ec39adb8d3da67bc1429120f94375bb49403794bdbaca55c7b1c15c2229

See more details on using hashes here.

File details

Details for the file ros_ament_cmake_python-2.7.3-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ros_ament_cmake_python-2.7.3-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dd5b80a80490913d9a6ccd18a62bdfcea4dddd1baed0a0c17a8de72ace1a9e22
MD5 bc2bcc1848786f6f003836f278f56b5b
BLAKE2b-256 c6806cb33f48097fecf6c4ff890794abc21dcbaed8edefb4bd1e5fcb8710d81c

See more details on using hashes here.

File details

Details for the file ros_ament_cmake_python-2.7.3-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ros_ament_cmake_python-2.7.3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 94f08d1794b63b5fc27eda2bb8e6d3a14a1cf0fcdc1ca439ddd532cfebb16b3a
MD5 1feed3b3abc79330610e3997c43f5e0d
BLAKE2b-256 1ab2a82a19177615665089b57bb5b9387122b9aec13829d80b5244885941d0b6

See more details on using hashes here.

File details

Details for the file ros_ament_cmake_python-2.7.3-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ros_ament_cmake_python-2.7.3-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a55a855a312064f120c29e0393c34b0781b085768001b43e2f90629a657d629a
MD5 b02918ea5e3fe62d4cdb7e0da12f7e5a
BLAKE2b-256 99d09bbadda9a4cf9722bec2888eaa0ad44b2d9839f9b4201c27068e4f544efb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page