[openrtm-commit:01516] r603 - trunk/OpenRTM-aist-Python/installer

openrtm @ openrtm.org openrtm @ openrtm.org
2015年 1月 22日 (木) 16:55:34 JST


Author: kawauchi
Date: 2015-01-22 16:55:34 +0900 (Thu, 22 Jan 2015)
New Revision: 603

Modified:
   trunk/OpenRTM-aist-Python/installer/build.cmd
Log:
[compat, installer] When create installer, python path has been modified by ARCH.

Modified: trunk/OpenRTM-aist-Python/installer/build.cmd
===================================================================
--- trunk/OpenRTM-aist-Python/installer/build.cmd	2015-01-16 08:10:06 UTC (rev 602)
+++ trunk/OpenRTM-aist-Python/installer/build.cmd	2015-01-22 07:55:34 UTC (rev 603)
@@ -5,7 +5,6 @@
 @rem ------------------------------------------------------------
 if not DEFINED ARCH       set ARCH=x86_64
 @set PATH_OLD=%PATH%
- at set PATH=%WIX%\bin;c:\python27;%PATH%
 @set INCLUDE_OPENRTP=YES
 @set VERSION=1.1.0
 @set TARGET=OpenRTM-aist-Python
@@ -14,10 +13,13 @@
 echo off
 @set TARGET_FULL=%TARGET%_%VERSION%-RELEASE_%ARCH%
 if "x%ARCH%" == "xx86_64" (
+   @set PYTHON_DIR=C:\Python27_x64
    @set OS_ARCH=64-bit OS
 ) else (
+   @set PYTHON_DIR=C:\Python27
    @set OS_ARCH=32-bit OS
 )
+ at set PATH=%WIX%bin;%PYTHON_DIR%;%PATH%
 @set PRODUCT_NAME=OpenRTM-aist-%VERSION%-RELEASE (%OS_ARCH%) for Python
 
 @rem ------------------------------------------------------------



More information about the openrtm-commit mailing list