mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 16:24:11 +03:00
removed obsolete
This commit is contained in:
parent
159b01f54b
commit
f793cb74eb
|
@ -1,72 +0,0 @@
|
|||
rem @echo off
|
||||
rem Build Pillow
|
||||
rem for Python 2.6, 2.7, 3.2, and 3.3, 32 and 64 bit
|
||||
rem using Windows SDK 7.0 and 7.1
|
||||
|
||||
setlocal
|
||||
rem Adjust the following if necessary
|
||||
set MPLSRC=%~dp0\..
|
||||
set INCLIB=%~dp0\depends
|
||||
rem set BLDOPT=bdist_wininst --user-access-control=auto
|
||||
set BLDOPT=install
|
||||
cd /D %MPLSRC%
|
||||
|
||||
rem Set TkAgg as default backend
|
||||
echo [rc_options] > setup.cfg
|
||||
echo backend = TkAgg >> setup.cfg
|
||||
echo [gui_support] >> setup.cfg
|
||||
echo tkagg = True >> setup.cfg
|
||||
|
||||
rem Using Windows SDK 7.0
|
||||
rem "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Setup\WindowsSdkVer.exe" -q -version:v7.0
|
||||
|
||||
rem Build for 64 bit Python 2.6, 2.7, 3.2
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr90-x64
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr90-x64;%INCLIB%\tcl85\include
|
||||
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python27x64\tcl
|
||||
rd /q /s build
|
||||
call z:\vpy27x64\Scripts\activate.bat
|
||||
call python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
exit
|
||||
|
||||
rem Using Windows SDK 7.1
|
||||
rem "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe" -q -version:v7.1
|
||||
|
||||
rem Build for 32 bit Python 3.3
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /Release /x86 /xp
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr100-x32
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr100-x32;%INCLIB%\tcl85\include
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python33\tcl
|
||||
rd /q /s build
|
||||
call C:\Python33\python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
endlocal
|
||||
|
||||
rem Build for 64 bit Python 3.3
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr100-x64
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr100-x64;%INCLIB%\tcl85\include
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python33x64\tcl
|
||||
rd /q /s build
|
||||
call C:\Python33x64\python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
endlocal
|
||||
|
||||
rd /q /s build
|
||||
rem copy /Y /B dist\*.* %~dp0
|
||||
endlocal
|
|
@ -1,222 +0,0 @@
|
|||
@echo off
|
||||
rem Build Pillow Dependencies
|
||||
|
||||
setlocal
|
||||
set MSBUILD=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
|
||||
set CMAKE="C:\Program Files (x86)\CMake 2.8\bin\cmake.exe"
|
||||
set INCLIB=%~dp0\depends
|
||||
set BUILD=%~dp0\build
|
||||
|
||||
echo "Removing Directories"
|
||||
rd /S /Q %INCLIB%
|
||||
rd /S /Q %BUILD%
|
||||
|
||||
mkdir %INCLIB%
|
||||
mkdir %BUILD%
|
||||
|
||||
rem Get freetype
|
||||
py -3 fetch.py http://download.savannah.gnu.org/releases/freetype/ft253.zip
|
||||
py -3 unzip.py ft253.zip %BUILD%
|
||||
set FREETYPE=%BUILD%\freetype-2.5.3
|
||||
copy /Y /B ft253.zip %INCLIB%
|
||||
|
||||
rem Get zlib
|
||||
py -3 fetch.py http://zlib.net/zlib128.zip
|
||||
py -3 unzip.py zlib128.zip %BUILD%
|
||||
set ZLIB=%BUILD%\zlib-1.2.8
|
||||
copy /Y /B zlib128.zip %INCLIB%
|
||||
|
||||
rem Get libjpeg
|
||||
py -3 fetch.py http://www.ijg.org/files/jpegsr9a.zip
|
||||
py -3 unzip.py jpegsr9a.zip %BUILD%
|
||||
set LIBJPEG=%BUILD%\jpeg-9a
|
||||
copy /Y /B jpegsr9a.zip %INCLIB%
|
||||
|
||||
rem get libtiff
|
||||
py -3 fetch.py ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.3.zip
|
||||
py -3 unzip.py tiff-4.0.3.zip %BUILD%
|
||||
set TIFF=%BUILD%\tiff-4.0.3
|
||||
copy /Y /B tiff-4.0.3.zip %INCLIB%
|
||||
|
||||
rem Get lcms2
|
||||
py -3 fetch.py http://hivelocity.dl.sourceforge.net/project/lcms/lcms/2.6/lcms2-2.6.zip
|
||||
py -3 unzip.py lcms2-2.6.zip %BUILD%
|
||||
set LCMS=%BUILD%\lcms2-2.6
|
||||
copy /Y /B lcms2-2.6.zip %INCLIB%
|
||||
|
||||
rem Get tcl/tk
|
||||
|
||||
py -3 fetch.py http://hivelocity.dl.sourceforge.net/project/tcl/Tcl/8.5.13/tcl8513-src.zip
|
||||
py -3 unzip.py tcl8513-src.zip %BUILD%
|
||||
copy /Y /B tcl8513-src.zip %INCLIB%
|
||||
py -3 fetch.py http://hivelocity.dl.sourceforge.net/project/tcl/Tcl/8.5.13/tk8513-src.zip
|
||||
py -3 unzip.py tk8513-src.zip %BUILD%
|
||||
copy /Y /B tk8513-src.zip %INCLIB%
|
||||
|
||||
mkdir %INCLIB%\tcl85\include\X11
|
||||
copy /Y /B %BUILD%\tcl8.5.13\generic\*.h %INCLIB%\tcl85\include\
|
||||
copy /Y /B %BUILD%\tk8.5.13\generic\*.h %INCLIB%\tcl85\include\
|
||||
copy /Y /B %BUILD%\tk8.5.13\xlib\X11\* %INCLIB%\tcl85\include\X11\
|
||||
|
||||
rem Build for VC 2008 64 bit
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set INCLIB=%INCLIB%\msvcr90-x64
|
||||
mkdir %INCLIB%
|
||||
|
||||
rem Build libjpeg
|
||||
setlocal
|
||||
cd /D %LIBJPEG%
|
||||
nmake -f makefile.vc setup-vc6
|
||||
nmake -f makefile.vc clean
|
||||
nmake -f makefile.vc all
|
||||
copy /Y /B *.dll %INCLIB%
|
||||
copy /Y /B *.lib %INCLIB%
|
||||
copy /Y /B j*.h %INCLIB%
|
||||
endlocal
|
||||
|
||||
rem Build zlib
|
||||
setlocal
|
||||
cd /D %ZLIB%
|
||||
nmake -f win32\Makefile.msc clean
|
||||
nmake -f win32\Makefile.msc
|
||||
copy /Y /B *.dll %INCLIB%
|
||||
copy /Y /B *.lib %INCLIB%
|
||||
copy /Y /B zlib.lib %INCLIB%\z.lib
|
||||
copy /Y /B zlib.h %INCLIB%
|
||||
copy /Y /B zconf.h %INCLIB%
|
||||
endlocal
|
||||
|
||||
rem Build libtiff
|
||||
setlocal
|
||||
rem do after building jpeg and zlib
|
||||
copy %~dp0\nmake.opt %TIFF%
|
||||
|
||||
cd /D %TIFF%
|
||||
nmake -f makefile.vc clean
|
||||
nmake -f makefile.vc
|
||||
copy /Y /B libtiff\*.dll %INCLIB%
|
||||
copy /Y /B libtiff\*.lib %INCLIB%
|
||||
copy /Y /B libtiff\tiff*.h %INCLIB%
|
||||
endlocal
|
||||
|
||||
rem Build freetype
|
||||
setlocal
|
||||
py -3 %~dp0\fixproj.py %FREETYPE%\builds\windows\vc2008\freetype.sln x64
|
||||
py -3 %~dp0\fixproj.py %FREETYPE%\builds\windows\vc2008\freetype.vcproj x64
|
||||
rd /S /Q %FREETYPE%\objs
|
||||
%MSBUILD% %FREETYPE%\builds\windows\vc2008\freetype.sln /t:Clean;Build /p:Configuration="LIB Release";Platform=x64
|
||||
xcopy /E /Q %FREETYPE%\include %INCLIB%
|
||||
xcopy /E /Q %FREETYPE%\objs\win32\vc2008 %INCLIB%
|
||||
copy /Y /B %FREETYPE%\objs\win32\vc2008\*.lib %INCLIB%\freetype.lib
|
||||
endlocal
|
||||
|
||||
rem Build lcms2
|
||||
setlocal
|
||||
py -3 %~dp0\fixproj.py %LCMS%\Projects\VC2008\lcms2.sln x64
|
||||
py -3 %~dp0\fixproj.py %LCMS%\Projects\VC2008\lcms2.vcproj x64
|
||||
rd /S /Q %LCMS%\objs
|
||||
%MSBUILD% %LCMS%\Projects\VC2008\lcms2.sln /t:Clean;Build /p:Configuration="LIB Release";Platform=x64
|
||||
xcopy /E /Q %LCMS%\include %INCLIB%
|
||||
xcopy /E /Q %LCMS%\objs\win32\VC2008 %INCLIB%
|
||||
copy /Y /B %LCMS%\objs\win32\VC2008\*.lib %INCLIB%\lcms2.lib
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
rem UNDONE --removeme!
|
||||
exit
|
||||
|
||||
rem Build for VC 2008 32 bit
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x86 /xp
|
||||
set INCLIB=%INCLIB%\msvcr90-x32
|
||||
mkdir %INCLIB%
|
||||
|
||||
rem Build zlib
|
||||
setlocal
|
||||
cd /D %ZLIB%
|
||||
nmake -f win32\Makefile.msc clean
|
||||
nmake -f win32\Makefile.msc
|
||||
copy /Y /B *.dll %INCLIB%
|
||||
copy /Y /B *.lib %INCLIB%
|
||||
copy /Y /B zlib.lib %INCLIB%\z.lib
|
||||
copy /Y /B zlib.h %INCLIB%
|
||||
copy /Y /B zconf.h %INCLIB%
|
||||
endlocal
|
||||
|
||||
rem Build freetype
|
||||
setlocal
|
||||
%~dp0\fixproj.py %FREETYPE%\builds\windows\vc2008\freetype.sln Win32
|
||||
%~dp0\fixproj.py %FREETYPE%\builds\windows\vc2008\freetype.vcproj Win32
|
||||
rd /S /Q %FREETYPE%\objs
|
||||
%MSBUILD% %FREETYPE%\builds\windows\vc2008\freetype.sln /t:Clean;Build /p:Configuration="LIB Release";Platform=Win32
|
||||
xcopy /E /Q %FREETYPE%\include %INCLIB%
|
||||
xcopy /E /Q %FREETYPE%\objs\win32\vc2008 %INCLIB%
|
||||
copy /Y /B %FREETYPE%\objs\win32\vc2008\*.lib %INCLIB%\freetype.lib
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
rem Build for VC 2010 64 bit
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set INCLIB=%INCLIB%\msvcr100-x64
|
||||
mkdir %INCLIB%
|
||||
|
||||
rem Build zlib
|
||||
setlocal
|
||||
cd /D %ZLIB%
|
||||
nmake -f win32\Makefile.msc clean
|
||||
nmake -f win32\Makefile.msc
|
||||
copy /Y /B *.dll %INCLIB%
|
||||
copy /Y /B *.lib %INCLIB%
|
||||
copy /Y /B zlib.lib %INCLIB%\z.lib
|
||||
copy /Y /B zlib.h %INCLIB%
|
||||
copy /Y /B zconf.h %INCLIB%
|
||||
endlocal
|
||||
|
||||
rem Build freetype
|
||||
setlocal
|
||||
py -3 %~dp0\fixproj.py %FREETYPE%\builds\windows\vc2010\freetype.sln x64
|
||||
py -3 %~dp0\fixproj.py %FREETYPE%\builds\windows\vc2010\freetype.vcxproj x64
|
||||
rd /S /Q %FREETYPE%\objs
|
||||
%MSBUILD% %FREETYPE%\builds\windows\vc2010\freetype.sln /t:Clean;Build /p:Configuration="Release";Platform=x64
|
||||
xcopy /E /Q %FREETYPE%\include %INCLIB%
|
||||
xcopy /E /Q %FREETYPE%\objs\win32\vc2010 %INCLIB%
|
||||
copy /Y /B %FREETYPE%\objs\win32\vc2010\*.lib %INCLIB%\freetype.lib
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
rem Build for VC 2010 32 bit
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /Release /x86 /xp
|
||||
set INCLIB=%INCLIB%\msvcr100-x32
|
||||
mkdir %INCLIB%
|
||||
|
||||
rem Build zlib
|
||||
setlocal
|
||||
cd /D %ZLIB%
|
||||
nmake -f win32\Makefile.msc clean
|
||||
nmake -f win32\Makefile.msc
|
||||
copy /Y /B *.dll %INCLIB%
|
||||
copy /Y /B *.lib %INCLIB%
|
||||
copy /Y /B zlib.lib %INCLIB%\z.lib
|
||||
copy /Y /B zlib.h %INCLIB%
|
||||
copy /Y /B zconf.h %INCLIB%
|
||||
endlocal
|
||||
|
||||
rem Build freetype
|
||||
setlocal
|
||||
%~dp0\fixproj.py %FREETYPE%\builds\windows\vc2010\freetype.sln Win32
|
||||
%~dp0\fixproj.py %FREETYPE%\builds\windows\vc2010\freetype.vcxproj Win32
|
||||
rd /S /Q %FREETYPE%\objs
|
||||
%MSBUILD% %FREETYPE%\builds\windows\vc2010\freetype.sln /t:Clean;Build /p:Configuration="Release";Platform=Win32
|
||||
xcopy /E /Q %FREETYPE%\include %INCLIB%
|
||||
xcopy /E /Q %FREETYPE%\objs\win32\vc2010 %INCLIB%
|
||||
copy /Y /B %FREETYPE%\objs\win32\vc2010\*.lib %INCLIB%\freetype.lib
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
endlocal
|
|
@ -1,105 +0,0 @@
|
|||
setlocal
|
||||
set MSBUILD=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
|
||||
set CMAKE="C:\Program Files (x86)\CMake 2.8\bin\cmake.exe"
|
||||
set INCLIB=%~dp0\depends
|
||||
set BUILD=%~dp0\build
|
||||
set OPENJPEG=%BUILD%\openjpeg-2.0.0
|
||||
set TIFF=%BUILD%\tiff-4.0.3
|
||||
set LCMS=%BUILD%\lcms2-2.6
|
||||
set ZLIB=%BUILD%\zlib-1.2.8
|
||||
set WEBP=%BUILD%\libwebp-0.4.0
|
||||
set FREETYPE=%BUILD%\freetype-2.5.3
|
||||
set JPEG=%BUILD%\jpeg-9a
|
||||
|
||||
mkdir %INCLIB%\tcl85\include\X11
|
||||
copy /Y /B %BUILD%\tcl8.5.13\generic\*.h %INCLIB%\tcl85\include\
|
||||
copy /Y /B %BUILD%\tk8.5.13\generic\*.h %INCLIB%\tcl85\include\
|
||||
copy /Y /B %BUILD%\tk8.5.13\xlib\X11\* %INCLIB%\tcl85\include\X11\
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set INCLIB=%INCLIB%\msvcr10-x64
|
||||
mkdir %INCLIB%
|
||||
|
||||
|
||||
rem build openjpeg
|
||||
setlocal
|
||||
@echo on
|
||||
cd /D %OPENJPEG%
|
||||
nmake -f Makefile clean
|
||||
%CMAKE% -DBUILD_THIRDPARTY:BOOL=ON -G "NMake Makefiles" .
|
||||
nmake -f Makefile
|
||||
copy /Y /B bin/* %INCLIB%
|
||||
mkdir %INCLIB%/openjpeg-2.0
|
||||
copy /Y /B src/lib/openjp2/openjpeg.h %INCLIB%/openjpeg-2.0
|
||||
copy /Y /B src/lib/openjp2/opj_stdint.h %INCLIB%/openjpeg-2.0
|
||||
endlocal
|
||||
|
||||
|
||||
endlocal
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x86 /xp
|
||||
set INCLIB=%INCLIB%\msvcr90-x32
|
||||
mkdir %INCLIB%
|
||||
|
||||
|
||||
rem build openjpeg
|
||||
setlocal
|
||||
@echo on
|
||||
cd /D %OPENJPEG%
|
||||
nmake -f Makefile clean
|
||||
%CMAKE% -DBUILD_THIRDPARTY:BOOL=ON -G "NMake Makefiles" .
|
||||
nmake -f Makefile
|
||||
copy /Y /B bin/* %INCLIB%
|
||||
mkdir %INCLIB%/openjpeg-2.0
|
||||
copy /Y /B src/lib/openjp2/openjpeg.h %INCLIB%/openjpeg-2.0
|
||||
copy /Y /B src/lib/openjp2/opj_stdint.h %INCLIB%/openjpeg-2.0
|
||||
endlocal
|
||||
|
||||
|
||||
endlocal
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set INCLIB=%INCLIB%\msvcr90-x64
|
||||
mkdir %INCLIB%
|
||||
|
||||
|
||||
rem build openjpeg
|
||||
setlocal
|
||||
@echo on
|
||||
cd /D %OPENJPEG%
|
||||
nmake -f Makefile clean
|
||||
%CMAKE% -DBUILD_THIRDPARTY:BOOL=ON -G "NMake Makefiles" .
|
||||
nmake -f Makefile
|
||||
copy /Y /B bin/* %INCLIB%
|
||||
mkdir %INCLIB%/openjpeg-2.0
|
||||
copy /Y /B src/lib/openjp2/openjpeg.h %INCLIB%/openjpeg-2.0
|
||||
copy /Y /B src/lib/openjp2/opj_stdint.h %INCLIB%/openjpeg-2.0
|
||||
endlocal
|
||||
|
||||
|
||||
endlocal
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /Release /x86 /xp
|
||||
set INCLIB=%INCLIB%\msvcr10-x32
|
||||
mkdir %INCLIB%
|
||||
|
||||
|
||||
rem build openjpeg
|
||||
setlocal
|
||||
@echo on
|
||||
cd /D %OPENJPEG%
|
||||
nmake -f Makefile clean
|
||||
%CMAKE% -DBUILD_THIRDPARTY:BOOL=ON -G "NMake Makefiles" .
|
||||
nmake -f Makefile
|
||||
copy /Y /B bin/* %INCLIB%
|
||||
mkdir %INCLIB%/openjpeg-2.0
|
||||
copy /Y /B src/lib/openjp2/openjpeg.h %INCLIB%/openjpeg-2.0
|
||||
copy /Y /B src/lib/openjp2/opj_stdint.h %INCLIB%/openjpeg-2.0
|
||||
endlocal
|
||||
|
||||
|
||||
endlocal
|
|
@ -1,36 +0,0 @@
|
|||
|
||||
setlocal
|
||||
set MSBUILD=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
|
||||
set CMAKE="C:\Program Files (x86)\CMake 2.8\bin\cmake.exe"
|
||||
set INCLIB=%~dp0\depends
|
||||
set BUILD=%~dp0\build
|
||||
set LCMS=%BUILD%\lcms2-2.6
|
||||
set ZLIB=%BUILD%\zlib-1.2.8
|
||||
set WEBP=%BUILD%\libwebp-0.4.0
|
||||
set TIFF=%BUILD%\tiff-4.0.3
|
||||
set OPENJPEG=%BUILD%\openjpeg-2.0.0
|
||||
set JPEG=%BUILD%\jpeg-9a
|
||||
set FREETYPE=%BUILD%\freetype-2.5.3
|
||||
|
||||
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set INCLIB=%INCLIB%\msvcr10-x64
|
||||
mkdir %INCLIB%
|
||||
|
||||
|
||||
rem build openjpeg
|
||||
setlocal
|
||||
@echo on
|
||||
cd /D %OPENJPEG%
|
||||
%CMAKE% -DBUILD_THIRDPARTY:BOOL=ON -G "NMake Makefiles" .
|
||||
nmake -f Makefile clean
|
||||
nmake -f Makefile
|
||||
copy /Y /B bin/* %INCLIB%
|
||||
mkdir %INCLIB%/openjpeg-2.0
|
||||
copy /Y /B src/lib/openjp2/openjpeg.h %INCLIB%/openjpeg-2.0
|
||||
copy /Y /B src/lib/openjp2/opj_stdint.h %INCLIB%/openjpeg2.0
|
||||
endlocal
|
||||
|
||||
|
||||
endlocal
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
|
||||
setlocal
|
||||
set MPLSRC=%~dp0\..
|
||||
set INCLIB=%~dp0\depends
|
||||
set BLDOPT=install
|
||||
cd /D %MPLSRC%
|
||||
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x86 /xp
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr90-x32
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr90-x32;%INCLIB%\tcl85\include
|
||||
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python26\tcl
|
||||
call c:\vp\26\Scripts\python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
exit
|
|
@ -1,23 +0,0 @@
|
|||
|
||||
setlocal
|
||||
set MPLSRC=%~dp0\..
|
||||
set INCLIB=%~dp0\depends
|
||||
set BLDOPT=install
|
||||
cd /D %MPLSRC%
|
||||
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr90-x64
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr90-x64;%INCLIB%\tcl85\include
|
||||
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python26x64\tcl
|
||||
call c:\vp\26x64\Scripts\python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
exit
|
|
@ -1,23 +0,0 @@
|
|||
|
||||
setlocal
|
||||
set MPLSRC=%~dp0\..
|
||||
set INCLIB=%~dp0\depends
|
||||
set BLDOPT=install
|
||||
cd /D %MPLSRC%
|
||||
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x86 /xp
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr90-x32
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr90-x32;%INCLIB%\tcl85\include
|
||||
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python27\tcl
|
||||
call c:\vp\27\Scripts\python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
exit
|
|
@ -1,23 +0,0 @@
|
|||
|
||||
setlocal
|
||||
set MPLSRC=%~dp0\..
|
||||
set INCLIB=%~dp0\depends
|
||||
set BLDOPT=install
|
||||
cd /D %MPLSRC%
|
||||
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr90-x64
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr90-x64;%INCLIB%\tcl85\include
|
||||
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python27-x64\tcl
|
||||
call c:\python27-x64\python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
exit
|
|
@ -1,23 +0,0 @@
|
|||
|
||||
setlocal
|
||||
set MPLSRC=%~dp0\..
|
||||
set INCLIB=%~dp0\depends
|
||||
set BLDOPT=install
|
||||
cd /D %MPLSRC%
|
||||
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x86 /xp
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr90-x32
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr90-x32;%INCLIB%\tcl85\include
|
||||
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python32\tcl
|
||||
call c:\vp\32\Scripts\python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
exit
|
|
@ -1,23 +0,0 @@
|
|||
|
||||
setlocal
|
||||
set MPLSRC=%~dp0\..
|
||||
set INCLIB=%~dp0\depends
|
||||
set BLDOPT=install
|
||||
cd /D %MPLSRC%
|
||||
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr90-x64
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr90-x64;%INCLIB%\tcl85\include
|
||||
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python32x64\tcl
|
||||
call c:\vp\32x64\Scripts\python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
exit
|
|
@ -1,23 +0,0 @@
|
|||
|
||||
setlocal
|
||||
set MPLSRC=%~dp0\..
|
||||
set INCLIB=%~dp0\depends
|
||||
set BLDOPT=install
|
||||
cd /D %MPLSRC%
|
||||
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /Release /x86 /xp
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr10-x32
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr10-x32;%INCLIB%\tcl85\include
|
||||
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python33\tcl
|
||||
call c:\vp\33\Scripts\python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
exit
|
|
@ -1,23 +0,0 @@
|
|||
|
||||
setlocal
|
||||
set MPLSRC=%~dp0\..
|
||||
set INCLIB=%~dp0\depends
|
||||
set BLDOPT=install
|
||||
cd /D %MPLSRC%
|
||||
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr10-x64
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr10-x64;%INCLIB%\tcl85\include
|
||||
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python33x64\tcl
|
||||
call c:\vp\33x64\Scripts\python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
exit
|
|
@ -1,23 +0,0 @@
|
|||
|
||||
setlocal
|
||||
set MPLSRC=%~dp0\..
|
||||
set INCLIB=%~dp0\depends
|
||||
set BLDOPT=install
|
||||
cd /D %MPLSRC%
|
||||
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /Release /x86 /xp
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr10-x32
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr10-x32;%INCLIB%\tcl85\include
|
||||
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python34\tcl
|
||||
call c:\vp\34\Scripts\python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
exit
|
|
@ -1,23 +0,0 @@
|
|||
|
||||
setlocal
|
||||
set MPLSRC=%~dp0\..
|
||||
set INCLIB=%~dp0\depends
|
||||
set BLDOPT=install
|
||||
cd /D %MPLSRC%
|
||||
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set DISTUTILS_USE_SDK=1
|
||||
set LIB=%LIB%;%INCLIB%\msvcr10-x64
|
||||
set INCLUDE=%INCLUDE%;%INCLIB%\msvcr10-x64;%INCLIB%\tcl85\include
|
||||
|
||||
setlocal
|
||||
set LIB=%LIB%;C:\Python34x64\tcl
|
||||
call c:\vp\34x64\Scripts\python.exe setup.py %BLDOPT%
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
exit
|
|
@ -1,10 +0,0 @@
|
|||
virtualenv -p c:/Python32/python.exe --clear c:/vp/32
|
||||
virtualenv -p c:/Python32x64/python.exe --clear c:/vp/32x64
|
||||
virtualenv -p c:/Python34/python.exe --clear c:/vp/34
|
||||
virtualenv -p c:/Python34x64/python.exe --clear c:/vp/34x64
|
||||
virtualenv -p c:/Python27/python.exe --clear c:/vp/27
|
||||
virtualenv -p c:/Python27x64/python.exe --clear c:/vp/27x64
|
||||
virtualenv -p c:/Python33/python.exe --clear c:/vp/33
|
||||
virtualenv -p c:/Python33x64/python.exe --clear c:/vp/33x64
|
||||
virtualenv -p c:/Python26/python.exe --clear c:/vp/26
|
||||
virtualenv -p c:/Python26x64/python.exe --clear c:/vp/26x64
|
|
@ -1,37 +0,0 @@
|
|||
setlocal
|
||||
set MSBUILD=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
|
||||
set CMAKE="C:\Program Files (x86)\CMake 2.8\bin\cmake.exe"
|
||||
set INCLIB=%~dp0\depends
|
||||
set BUILD=%~dp0\build
|
||||
|
||||
mkdir %INCLIB%
|
||||
mkdir %BUILD%
|
||||
|
||||
rem Get libjpeg
|
||||
py -3 fetch.py http://www.ijg.org/files/jpegsr9a.zip
|
||||
py -3 unzip.py jpegsr9a.zip %BUILD%
|
||||
set LIBJPEG=%BUILD%\jpeg-9a
|
||||
copy /Y /B jpegsr9a.zip %INCLIB%
|
||||
|
||||
rem Build for VC 2008 64 bit
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set INCLIB=%INCLIB%\msvcr90-x64
|
||||
mkdir %INCLIB%
|
||||
|
||||
|
||||
rem Build libjpeg
|
||||
setlocal
|
||||
cd /D %LIBJPEG%
|
||||
nmake -f makefile.vc setup-vc6
|
||||
nmake -f makefile.vc clean
|
||||
nmake -f makefile.vc all
|
||||
copy /Y /B *.dll %INCLIB%
|
||||
copy /Y /B *.lib %INCLIB%
|
||||
copy /Y /B j*.h %INCLIB%
|
||||
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
rem UNDONE --removeme!
|
||||
exit
|
|
@ -1,41 +0,0 @@
|
|||
setlocal
|
||||
set MSBUILD=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
|
||||
set CMAKE="C:\Program Files (x86)\CMake 2.8\bin\cmake.exe"
|
||||
set INCLIB=%~dp0\depends
|
||||
set BUILD=%~dp0\build
|
||||
|
||||
echo "Removing Directories"
|
||||
rd /S /Q %INCLIB%
|
||||
rd /S /Q %BUILD%
|
||||
|
||||
mkdir %INCLIB%
|
||||
mkdir %BUILD%
|
||||
|
||||
rem Get lcms2
|
||||
py -3 fetch.py http://hivelocity.dl.sourceforge.net/project/lcms/lcms/2.6/lcms2-2.6.zip
|
||||
py -3 unzip.py lcms2-2.6.zip %BUILD%
|
||||
set LCMS=%BUILD%\lcms2-2.6
|
||||
copy /Y /B lcms2-2.6.zip %INCLIB%
|
||||
|
||||
rem Build for VC 2008 64 bit
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set INCLIB=%INCLIB%\msvcr90-x64
|
||||
mkdir %INCLIB%
|
||||
|
||||
rem Build lcms2
|
||||
setlocal
|
||||
py -3 %~dp0\fixproj.py %LCMS%\Projects\VC2008\lcms2.sln x64
|
||||
py -3 %~dp0\fixproj.py %LCMS%\Projects\VC2008\lcms2.vcproj x64
|
||||
rd /S /Q %LCMS%\objs
|
||||
%MSBUILD% %LCMS%\Projects\VC2008\lcms2.sln /t:Clean;Build /p:Configuration="LIB Release";Platform=x64
|
||||
xcopy /E /Q %LCMS%\include %INCLIB%
|
||||
xcopy /E /Q %LCMS%\objs\win32\VC2008 %INCLIB%
|
||||
copy /Y /B %LCMS%\objs\win32\VC2008\*.lib %INCLIB%\lcms2.lib
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
rem UNDONE --removeme!
|
||||
exit
|
||||
|
||||
endlocal
|
|
@ -1,3 +0,0 @@
|
|||
import urllib.request
|
||||
|
||||
urllib.request.urlretrieve('https://www.python.org/ftp/python/2.7.6/python-2.7.6.amd64.msi')
|
|
@ -1,39 +0,0 @@
|
|||
setlocal
|
||||
set MSBUILD=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
|
||||
set CMAKE="C:\Program Files (x86)\CMake 2.8\bin\cmake.exe"
|
||||
set INCLIB=%~dp0\depends
|
||||
set BUILD=%~dp0\build
|
||||
|
||||
mkdir %INCLIB%
|
||||
mkdir %BUILD%
|
||||
|
||||
rem get libtiff
|
||||
py -3 fetch.py ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.3.zip
|
||||
py -3 unzip.py tiff-4.0.3.zip %BUILD%
|
||||
set TIFF=%BUILD%\tiff-4.0.3
|
||||
copy /Y /B tiff-4.0.3.zip %INCLIB%
|
||||
|
||||
rem Build for VC 2008 64 bit
|
||||
setlocal EnableDelayedExpansion
|
||||
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||
set INCLIB=%INCLIB%\msvcr90-x64
|
||||
mkdir %INCLIB%
|
||||
|
||||
|
||||
rem Build libtiff
|
||||
setlocal
|
||||
@echo on
|
||||
rem do after building jpeg and zlib
|
||||
copy %~dp0\nmake.opt %TIFF%
|
||||
|
||||
cd /D %TIFF%
|
||||
nmake -f makefile.vc clean
|
||||
nmake -f makefile.vc
|
||||
copy /Y /B libtiff\*.dll %INCLIB%
|
||||
copy /Y /B libtiff\*.lib %INCLIB%
|
||||
copy /Y /B libtiff\tiff*.h %INCLIB%
|
||||
endlocal
|
||||
|
||||
endlocal
|
||||
rem UNDONE --removeme!
|
||||
exit
|
Loading…
Reference in New Issue
Block a user