Skip to content

Commit 15aa4f9

Browse files
committed
Changed manager command name and corrected configurations.
1 parent b3017fb commit 15aa4f9

File tree

6 files changed

+10
-17
lines changed

6 files changed

+10
-17
lines changed

OpenRTM_aist/DefaultConfiguration.py

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
lang = "Python"
2626
elif os.name == "posix":
2727
cpp_suffixes = "so"
28-
supported_languages = "C++, Python, Python3, Java"
29-
lang = "Python3"
28+
supported_languages = "C++, Python, Java"
29+
lang = "Python"
3030
else:
3131
cpp_suffixes = "dylib"
32-
supported_languages = "C++, Python, Python3, Java"
33-
lang = "Python3"
32+
supported_languages = "C++, Python, Java"
33+
lang = "Python"
3434

3535
##
3636
# @if jp
@@ -90,7 +90,7 @@
9090
"manager.auto_shutdown_duration", "20.0",
9191
"manager.termination_waittime", "1.0",
9292
"manager.name", "manager",
93-
"manager.command", "rtcd_python",
93+
"manager.command", "rtcd2_python",
9494
"manager.nameservers", "default",
9595
"manager.language", lang,
9696
"manager.components.naming_policy", "process_unique",
@@ -112,10 +112,3 @@
112112
"manager.modules.Python.load_paths", "",
113113
"manager.modules.Java.load_paths", ""]
114114

115-
if os.name != "nt":
116-
python3_config = [
117-
"manager.modules.Python3.manager_cmd", "rtcd2_python3",
118-
"manager.modules.Python3.profile_cmd", "rtcprof2_python3",
119-
"manager.modules.Python3.suffixes", "py",
120-
"manager.modules.Python3.load_paths", ""]
121-
default_config.extend(python3_config)

packages/deb/debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ install: build
4545

4646
# for openrtm2-python3 package
4747
(mkdir -p $(TARGET)/bin)
48-
(cp $(CURDIR)/bin/rtc*2_python3 $(TARGET)/bin)
48+
(cp $(CURDIR)/bin/rtc*2_python $(TARGET)/bin)
4949
(mkdir -p $(TARGET)/lib/python3/dist-packages)
5050
(cp -r $(CURDIR)/OpenRTM_aist $(TARGET)/lib/python3/dist-packages)
5151
(cp -r $(CURDIR)/OpenRTM_aist*.dist-info $(TARGET)/lib/python3/dist-packages)

packages/deb/dpkg_build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ extract_source()
139139
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcd/README
140140
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcd/*.conf
141141
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcd/*.bat
142-
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcd/rtcd2_python3
142+
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcd/rtcd2_python
143143
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcprof/*.bat
144-
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcprof/rtcprof2_python3
144+
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcprof/rtcprof2_python
145145
cp -r ../../local/bin ${BUILD_ROOT}/
146146
}
147147

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ zip_safe = True
1414
include_package_data = True
1515

1616
scripts =
17-
OpenRTM_aist/utils/rtcd/rtcd2_python3
18-
OpenRTM_aist/utils/rtcprof/rtcprof2_python3
17+
OpenRTM_aist/utils/rtcd/rtcd2_python
18+
OpenRTM_aist/utils/rtcprof/rtcprof2_python
1919

0 commit comments

Comments
 (0)