Skip to content

Commit

Permalink
Changed manager command name and corrected properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
n-kawauchi committed May 24, 2024
1 parent b3017fb commit 8b0786e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 17 deletions.
17 changes: 5 additions & 12 deletions OpenRTM_aist/DefaultConfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
lang = "Python"
elif os.name == "posix":
cpp_suffixes = "so"
supported_languages = "C++, Python, Python3, Java"
lang = "Python3"
supported_languages = "C++, Python, Java"
lang = "Python"
else:
cpp_suffixes = "dylib"
supported_languages = "C++, Python, Python3, Java"
lang = "Python3"
supported_languages = "C++, Python, Java"
lang = "Python"

##
# @if jp
Expand Down Expand Up @@ -90,7 +90,7 @@
"manager.auto_shutdown_duration", "20.0",
"manager.termination_waittime", "1.0",
"manager.name", "manager",
"manager.command", "rtcd_python",
"manager.command", "rtcd2_python",
"manager.nameservers", "default",
"manager.language", lang,
"manager.components.naming_policy", "process_unique",
Expand All @@ -112,10 +112,3 @@
"manager.modules.Python.load_paths", "",
"manager.modules.Java.load_paths", ""]

if os.name != "nt":
python3_config = [
"manager.modules.Python3.manager_cmd", "rtcd2_python3",
"manager.modules.Python3.profile_cmd", "rtcprof2_python3",
"manager.modules.Python3.suffixes", "py",
"manager.modules.Python3.load_paths", ""]
default_config.extend(python3_config)
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/deb/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ install: build

# for openrtm2-python3 package
(mkdir -p $(TARGET)/bin)
(cp $(CURDIR)/bin/rtc*2_python3 $(TARGET)/bin)
(cp $(CURDIR)/bin/rtc*2_python $(TARGET)/bin)
(mkdir -p $(TARGET)/lib/python3/dist-packages)
(cp -r $(CURDIR)/OpenRTM_aist $(TARGET)/lib/python3/dist-packages)
(cp -r $(CURDIR)/OpenRTM_aist*.dist-info $(TARGET)/lib/python3/dist-packages)
Expand Down
4 changes: 2 additions & 2 deletions packages/deb/dpkg_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ extract_source()
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcd/README
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcd/*.conf
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcd/*.bat
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcd/rtcd2_python3
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcd/rtcd2_python
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcprof/*.bat
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcprof/rtcprof2_python3
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcprof/rtcprof2_python
cp -r ../../local/bin ${BUILD_ROOT}/
}

Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ zip_safe = True
include_package_data = True

scripts =
OpenRTM_aist/utils/rtcd/rtcd2_python3
OpenRTM_aist/utils/rtcprof/rtcprof2_python3
OpenRTM_aist/utils/rtcd/rtcd2_python
OpenRTM_aist/utils/rtcprof/rtcprof2_python

0 comments on commit 8b0786e

Please sign in to comment.