You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: rep-0008.rst
+6-3
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ With ``catkin``
31
31
The loader method of accessing Python code in ROS is obsolete if you are using
32
32
``catkin``.
33
33
When using ``catkin``, the Python code for all packages will be on the
34
-
``PYTHONPATH`` after sourcing the `setup.bash` file for your workspace.
34
+
``PYTHONPATH`` after sourcing the ``setup`` file for your workspace.
35
35
36
36
With ``rosbuild``
37
37
-----------------
@@ -98,7 +98,7 @@ If your package contains messages or services then they will generate code into
98
98
Though this generated code does not go into your package's source code, it does get merged with your package's Python source when getting installed.
99
99
This is a new mechanism introduced with ``catkin`` because ``catkin`` installs into a FHS [5]_ layout, whereas ``rosbuild`` did not have an install step.
100
100
101
-
Your package shares a global ``PYTHONPATH`` namespace with other packages, so be considerate when creating Python packages at the root of your package's ``src`` folder as they can collide with others.
101
+
Your package shares a global ``PYTHONPATH`` namespace with other packages (system Python packages as well as ROS packages with Python code), so be considerate when creating Python packages at the root of your package's ``src`` folder as they can collide with others.
102
102
103
103
Installing Scripts with catkin
104
104
''''''''''''''''''''''''''''''
@@ -232,7 +232,7 @@ The target version of Python changes based on the requirements for each distribu
232
232
See REP-0003 [2]_ for the target Python version for each ROS distribution.
233
233
234
234
Currently, as of 2015, the target is Python 2.7+, but we wish to encourage
235
-
code that is easily transitioned to Python 3 [3]_.
235
+
code that is easily transitioned to Python 3 [3]_ [6]_.
236
236
237
237
This means you should follow the recommended guidelines on the ROS wiki:
0 commit comments