ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I have a mixed C++/Python package. To install Python executable in this package, I've found it sufficient to do this:
my_package/scripts
my_package/scripts
chmod +x
install(PROGRAMS
scripts/my_python_file.py
DESTINATION lib/${PROJECT_NAME} )
To me, this seems a lot easier than what the tutorial recommends with setup.cfg
and setup.py
but maybe I'm missing something.
2 | No.2 Revision |
I have a mixed C++/Python package. To install a Python executable in this package, I've found it sufficient to do this:
my_package/scripts
my_package/scripts
chmod +x
__init__.py
file in my_package/scripts
install(PROGRAMS
scripts/my_python_file.py
DESTINATION lib/${PROJECT_NAME} )
To me, this seems a lot easier than what the tutorial recommends with setup.cfg
and setup.py
but maybe I'm missing something.something. Perhaps it's not Windows-compatible or something like that.
3 | No.3 Revision |
I have a mixed C++/Python package. To install a Python executable in this package, I've found it sufficient to do this:
my_package/scripts
chmod +x
__init__.py
file in my_package/scripts
install(PROGRAMS
scripts/my_python_file.py
DESTINATION lib/${PROJECT_NAME} )
To me, this seems a lot easier than what the tutorial recommends with setup.cfg
and setup.py
but maybe I'm missing something. Perhaps it's not Windows-compatible or something like that.
4 | No.4 Revision |
I have a mixed C++/Python package. To install a Python executable in this package, I've found it sufficient to do this:
my_package/scripts
chmod +x
__init__.py
file in my_package/scripts
install(PROGRAMS
scripts/my_python_file.py
DESTINATION lib/${PROJECT_NAME} )
To me, this seems a lot easier than what the tutorial recommends with setup.cfg
and setup.py
but maybe I'm missing something. Perhaps it's not Windows-compatible or something like that.
5 | No.5 Revision |
I have a mixed C++/Python package. To install a Python executable in this package, I've found it sufficient to do this:
my_package/scripts
chmod +x
__init__.py
file in my_package/scripts
install(PROGRAMS
To me, this seems a lot easier than what the tutorial recommends with setup.cfg
and setup.py
but maybe I'm missing something. Perhaps it's not Windows-compatible or something like that.
6 | No.6 Revision |
I have a mixed C++/Python package. To install a Python executable in this package, I've found it sufficient to do this:
my_package/scripts
#!/usr/bin/env python3
chmod +x
__init__.py
file in my_package/scripts
install(PROGRAMS scripts/my_python_file.py DESTINATION lib/${PROJECT_NAME} )
To me, this seems a lot easier than what the tutorial recommends with setup.cfg
and setup.py
but maybe I'm missing something. Perhaps it's not Windows-compatible or something like that.
7 | No.7 Revision |
I have a mixed C++/Python package. To install a Python executable in this package, I've found it sufficient to do this:
my_package/scripts
#!/usr/bin/env python3
chmod +x
__init__.py
file in my_package/scripts
install(PROGRAMS scripts/my_python_file.py DESTINATION lib/${PROJECT_NAME} )
To me, this seems a lot easier than what the tutorial recommends with setup.cfg
and setup.py
but maybe I'm missing something. Perhaps it's not Windows-compatible or something like that.
8 | No.8 Revision |
I have a mixed C++/Python package. To install a Python executable in this package, I've found it sufficient to do this:
my_package/scripts
#!/usr/bin/env python3
chmod +x
__init__.py
file in my_package/scripts
install(PROGRAMS scripts/my_python_file.py DESTINATION lib/${PROJECT_NAME} )
To me, this seems a lot easier than what the tutorial recommends with setup.cfg
and setup.py
but maybe I'm missing something. Perhaps it's not Windows-compatible or something like that.