Comments (4)
catkin_virtualenv overrides the catkin function catkin_install_python
to create virtualenv loaders for your python scripts.
I don't have a way to pick up from setup.py's entry_points:console_scripts
and do the same, though I imagine it's possible.
from catkin_virtualenv.
So if I understand you correctly the recommended approach right now would be to use the provided catkin_virtualenv
and the regular catkin_python_*
CMake functions/macros to get the files and dirs copied to their proper destinations?
from catkin_virtualenv.
correct, you can use catkin_install_python
to install global or local script as per usual. I was actually surprised that catkin supports console_scripts
at all, as http://docs.ros.org/api/catkin/html/howto/format2/installing_python.html doesn't mention it, but it's used heavily in ros_comm https://github.com/ros/ros_comm/blob/lunar-devel/tools/roslaunch/setup.py to install 'global' scripts such as roslaunch.
The same is accomplished via
catkin_install_python(...
DESTINATION ${CATKIN_PACKAGE_GLOBAL_DESTINATION}
from catkin_virtualenv.
Going to close this ticket. Let me know how it goes!
from catkin_virtualenv.
Related Issues (20)
- Install space script shouldn't be reliant on the current system's absolute path
- Why does it install `pip` into the generated virtualenv? HOT 2
- Using generated virtualenv in dynamic_reconfigure
- ament support (ament_virtualenv) HOT 11
- Support subdirectory in VCS requirements HOT 2
- Release request of 0.5.2 on Kinetic HOT 2
- Release catkin_virtualenv into ROS Noetic? HOT 5
- Usage with overlay workspaces HOT 1
- 0.6 in Kinetic and Melodic? HOT 8
- Build failures on O(S)R(F) buildfarm: "no attribute '__legacy__'" HOT 9
- ros-noetic-catkin-virtualenv dependency issue HOT 1
- ros-kinetic-catkin-virtualenv dependency issue HOT 3
- Does catkin_virtualenv have to be "installed" and if so, how? HOT 3
- Problems building a catkin package with catkin_virtualenv due to `requirements.in` HOT 1
- How do you run this? HOT 1
- Failure with Python 3.10
- GPL copyleft with regards to this library HOT 4
- catkin_make fails on `venv_lock` HOT 1
- catkin_virtualenv is resolvable by rosdep but not installable HOT 1
- ModuleNotFoundError: No module named 'catkin_pkg' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from catkin_virtualenv.