Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add catkin_virtualenv for google-generativeai #1404

Open
wants to merge 1 commit into
base: jsk_2024_10_semi
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion jsk_2024_10_semi/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
cmake_minimum_required(VERSION 2.8.3)
project(jsk_2024_10_semi)

find_package(catkin REQUIRED COMPONENTS)
find_package(catkin REQUIRED COMPONENTS catkin_virtualenv)

catkin_package()

# Generate the virtualenv
catkin_generate_virtualenv(
PYTHON_INTERPRETER python3.10
USE_SYSTEM_PACKAGES FALSE # Default TRUE

# Provide extra arguments to the underlying pip invocation
#EXTRA_PIP_ARGS -vvv
)

install(DIRECTORY euslisp
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)

install(FILES requirements.txt
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
catkin_install_python(
PROGRAMS scripts/conversation.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
3 changes: 3 additions & 0 deletions jsk_2024_10_semi/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@

<buildtool_depend>catkin</buildtool_depend>

<build_depend>catkin_virtualenv</build_depend>

<run_depend>fetcheus</run_depend>
<run_depend>jsk_maps</run_depend>
<run_depend>pr2eus</run_depend>

<export>
<pip_requirements>requirements.txt</pip_requirements>
</export>
</package>
13 changes: 13 additions & 0 deletions jsk_2024_10_semi/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
google-ai-generativelanguage==0.6.10
google-api-core==2.22.0
google-api-python-client==2.149.0
google-auth==2.35.0
google-auth-httplib2==0.2.0
google-generativeai==0.8.3
googleapis-common-protos==1.65.0
protobuf==5.28.3
grpcio==1.67.1
grpcio-status==1.67.1
#
speechrecognition
gtts