Skip to content

Commit

Permalink
changing python to python3
Browse files Browse the repository at this point in the history
  • Loading branch information
ConstantConstantin committed Apr 12, 2024
1 parent ca92e7c commit 2a1648d
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .project
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
</projects>
<buildSpec>
<buildCommand>
<name>org.python.pydev.PyDevBuilder</name>
<name>org.python3.pydev.PyDevBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.python.pydev.pythonNature</nature>
<nature>org.python3.pydev.pythonNature</nature>
</natures>
</projectDescription>
6 changes: 3 additions & 3 deletions .pydevproject
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?><pydev_project>
<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
<pydev_pathproperty name="org.python3.pydev.PROJECT_SOURCE_PATH">
<path>/${PROJECT_DIR_NAME}/src</path>
</pydev_pathproperty>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_property name="org.python3.pydev.PYTHON_PROJECT_VERSION">python3 2.7</pydev_property>
<pydev_property name="org.python3.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
</pydev_project>
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Changelog for package genjava

0.1.3 (2015-02-28)
------------------
* add data parts to the python package.
* add data parts to the python3 package.
* Contributors: Daniel Stonier

0.1.2 (2015-02-27)
Expand Down
19 changes: 11 additions & 8 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,19 @@
<author>Daniel Stonier</author>

<buildtool_depend version_gte="0.5.78">catkin</buildtool_depend>
<buildtool_depend condition="$ROS_PYTHON_VERSION == 2">python-setuptools</buildtool_depend>
<buildtool_depend condition="$ROS_PYTHON_VERSION == 3">python3-setuptools</buildtool_depend>
<build_depend>genmsg</build_depend>
<build_depend>python3-catkin-pkg</build_depend>
<build_depend>python3-rospkg</build_depend>
<build_depend>rosjava_bootstrap</build_depend>
<build_depend>rosjava_build_tools</build_depend>
<buildtool_depend condition="$ROS_PYTHON_VERSION == 3">python3-setuptools</buildtool_depend>

<depend>genmsg</depend>
<depend condition="$ROS_PYTHON_VERSION == 2">python-catkin-pkg</depend>
<depend condition="$ROS_PYTHON_VERSION == 2">python-rospkg</depend>
<depend condition="$ROS_PYTHON_VERSION == 3">python3-catkin-pkg</depend>
<depend condition="$ROS_PYTHON_VERSION == 3">python3-rospkg</depend>
<depend>rosjava_bootstrap</depend>
<depend>rosjava_build_tools</depend>
<run_depend>genmsg</run_depend>
<run_depend condition="$ROS_PYTHON_VERSION == 3">python3-catkin-pkg</run_depend>
<run_depend condition="$ROS_PYTHON_VERSION == 3">python3-rospkg</run_depend>
<run_depend>rosjava_bootstrap</run_depend>
<run_depend>rosjava_build_tools</run_depend>

<export>
<message_generator>java</message_generator>
Expand Down
2 changes: 1 addition & 1 deletion scripts/genjava_gradle_project.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

"""
ROS message source code generation for Java, integration with ros' message_generation.
Expand Down
2 changes: 1 addition & 1 deletion scripts/genjava_message_artifacts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

"""
ROS message source code generation for Java, from the command line.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from setuptools import setup
from catkin_pkg.python_setup import generate_distutils_setup
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 2a1648d

Please sign in to comment.