pip3 install cruft
cruft create https://github.com/a2s-institute/ROS-Package-Py-Template
This tool will ask the location of your Python interpreter (often for PC /usr/bin/env python
and for Docker /usr/bin/python3
).
Check it in advance using:
which python
In the case of an empty return, try with
which python3
To check if the template has been updated compared the version used for your project:
cruft check
To update your project based on the latest structure given by the template:
cruft update
For more information visit the doc of cruft
Please consider to either raise an issue or contribute by sending a pull request. Thank you!