Skip to content

Commit

Permalink
Merge pull request #312 from n-kawauchi/for_pth_change
Browse files Browse the repository at this point in the history
RTM-Python-build-idlリポジトリでの変更に対応
  • Loading branch information
n-ando authored Apr 24, 2024
2 parents 8378cc3 + db377d0 commit b3017fb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/deb/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ install: build
(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)
(cp $(CURDIR)/bin/OpenRTM-aist.pth $(TARGET)/lib/python3/dist-packages)
(cp $(CURDIR)/OpenRTM-aist.pth $(TARGET)/lib/python3/dist-packages)

# for openrtm2-python3-example package
(mkdir -p $(TARGET_example))
Expand Down
2 changes: 1 addition & 1 deletion packages/deb/dpkg_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ extract_source()
mkdir ${BUILD_ROOT}
cp -r ../../examples ${BUILD_ROOT}/
cp -r ../../OpenRTM_aist* ${BUILD_ROOT}/
cp ../../OpenRTM-aist.pth ${BUILD_ROOT}/
find ${BUILD_ROOT}/examples | grep -E "(/__pycache__$|\.pyc$|\.pyo$)" | xargs rm -rf
find ${BUILD_ROOT}/examples -name "*.bat" | xargs rm -f
rm ${BUILD_ROOT}/examples/rtc.conf.sample
Expand All @@ -142,7 +143,6 @@ extract_source()
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcprof/*.bat
rm ${BUILD_ROOT}/OpenRTM_aist/utils/rtcprof/rtcprof2_python3
cp -r ../../local/bin ${BUILD_ROOT}/
chmod -x ${BUILD_ROOT}/bin/*.pth
}

create_files()
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ include_package_data = True
scripts =
OpenRTM_aist/utils/rtcd/rtcd2_python3
OpenRTM_aist/utils/rtcprof/rtcprof2_python3
OpenRTM-aist.pth

0 comments on commit b3017fb

Please sign in to comment.