[ros-users] [Discourse.ros.org] [Next Generation ROS] Ament build for python packages with dependencies

Nate Bunderson ros.discourse at gmail.com
Thu Nov 2 20:27:43 UTC 2017



Hi all, I am building a python package that depends on a pypi package.  I include the name of the pypi package in the "install_requires" list in the setup.py file.  If I build the package with "python3 setup.py install" the dependency is built as well and everything runs well.  If instead I build with "ament build" then the package builds without errors but the dependency is not actually included. I guess I had assumed that ament build essentially did a "python3 setup.py install" under the hood. But would somehow manage to put those dependencies in the site-packages in the install folder as well. I am on beta 3.  Thanks for all you do!





---
[Visit Topic](https://discourse.ros.org/t/ament-build-for-python-packages-with-dependencies/3093/1) or reply to this email to respond.




More information about the ros-users mailing list