Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency installation
Browse files Browse the repository at this point in the history
felixdivo committed May 11, 2024
1 parent c56d342 commit 92c27dc
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -16,5 +16,5 @@
]
}
},
"postStartCommand": "python -m pip install -e './ros2_easy_test[dev,doc]'"
"postStartCommand": "rosdep install --from-paths ros2_easy_test && colcon build --symlink-install && pip install -e './ros2_easy_test[dev,doc]'"
}
3 changes: 1 addition & 2 deletions .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
@@ -31,8 +31,7 @@ jobs:
apt-get update -q
apt-get install -qy python3-pip python-is-python3 ros-dev-tools ros-$ROS_DISTRO-example-interfaces
rosdep init
# pip install --upgrade pip setuptools
# python -m pip install -e './ros2_easy_test[dev]'
pip install -e './ros2_easy_test[dev]'
-
uses: ros-tooling/[email protected]
with:
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -8,7 +8,8 @@
FROM ros:humble-ros-core

# Install runtime dependencies
RUN apt-get update -q && apt-get install -qy python3-pip python-is-python3 git ros-dev-tools ros-$ROS_DISTRO-example-interfaces
RUN apt-get update -q && apt-get install -qy python3-pip python-is-python3 git ros-dev-tools
RUN rosdep init && rosdep update

# Need to have setuptools version 64+ for editable installs
RUN pip install --upgrade pip setuptools
1 change: 1 addition & 0 deletions ros2_easy_test/package.xml
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
<license>MIT</license>

<test_depend>python3-pytest</test_depend>
<test_depend>example_interfaces</test_depend>

<export>
<build_type>ament_python</build_type>
2 changes: 1 addition & 1 deletion ros2_easy_test/setup.py
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@
"Typing :: Typed",
],
requires_python=">=3.8",
install_requires=["setuptools", "makefun>=1.15.2"],
install_requires=["makefun>=1.15.2"],
extras_require={
"dev": [
"black~=24.2",

0 comments on commit 92c27dc

Please sign in to comment.