[openrtm-commit:03368] r1037 - trunk/OpenRTM-aist-Python
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 11月 9日 (金) 11:12:26 JST
Author: miyamoto
Date: 2018-11-09 11:12:26 +0900 (Fri, 09 Nov 2018)
New Revision: 1037
Modified:
trunk/OpenRTM-aist-Python/setup.py
Log:
[compat] modified setup.py
Modified: trunk/OpenRTM-aist-Python/setup.py
===================================================================
--- trunk/OpenRTM-aist-Python/setup.py 2018-10-19 08:31:04 UTC (rev 1036)
+++ trunk/OpenRTM-aist-Python/setup.py 2018-11-09 02:12:26 UTC (rev 1037)
@@ -234,9 +234,14 @@
pkg_data_files_unix = []
-pkg_data_files_win32 = [("Scripts", ['OpenRTM_aist/utils/rtcd/rtcd_python.exe'])]
+rtcd_python = 'OpenRTM_aist/utils/rtcd/rtcd_python.exe'
+if os.path.exists(rtcd_python):
+ pkg_data_files_win32 = [("Scripts", [rtcd_python])]
+else:
+ pkg_data_files_win32 = [("Scripts", [])]
+
#
# ext modules
#
openrtm-commit メーリングリストの案内