mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
updated tcl/tk extract directories
This commit is contained in:
parent
77f45aa402
commit
26e6bb25ef
|
@ -91,18 +91,19 @@ endlocal
|
||||||
""" % compiler
|
""" % compiler
|
||||||
|
|
||||||
|
|
||||||
def cp_tk():
|
def cp_tk(ver_85, ver_86):
|
||||||
|
versions = {'ver_85':ver_85, 'ver_86':ver_86}
|
||||||
return r"""
|
return r"""
|
||||||
mkdir %INCLIB%\tcl85\include\X11
|
mkdir %%INCLIB%%\tcl85\include\X11
|
||||||
copy /Y /B %BUILD%\tcl8.5.13\generic\*.h %INCLIB%\tcl85\include\
|
copy /Y /B %%BUILD%%\tcl%(ver_85)s\generic\*.h %%INCLIB%%\tcl85\include\
|
||||||
copy /Y /B %BUILD%\tk8.5.13\generic\*.h %INCLIB%\tcl85\include\
|
copy /Y /B %%BUILD%%\tk%(ver_85)s\generic\*.h %%INCLIB%%\tcl85\include\
|
||||||
copy /Y /B %BUILD%\tk8.5.13\xlib\X11\* %INCLIB%\tcl85\include\X11\
|
copy /Y /B %%BUILD%%\tk%(ver_85)s\xlib\X11\* %%INCLIB%%\tcl85\include\X11\
|
||||||
|
|
||||||
mkdir %INCLIB%\tcl86\include\X11
|
mkdir %%INCLIB%%\tcl86\include\X11
|
||||||
copy /Y /B %BUILD%\tcl8.6.4\generic\*.h %INCLIB%\tcl86\include\
|
copy /Y /B %%BUILD%%\tcl%(ver_86)s\generic\*.h %%INCLIB%%\tcl86\include\
|
||||||
copy /Y /B %BUILD%\tk8.6.4\generic\*.h %INCLIB%\tcl86\include\
|
copy /Y /B %%BUILD%%\tk%(ver_86)s\generic\*.h %%INCLIB%%\tcl86\include\
|
||||||
copy /Y /B %BUILD%\tk8.6.4\xlib\X11\* %INCLIB%\tcl86\include\X11\
|
copy /Y /B %%BUILD%%\tk%(ver_86)s\xlib\X11\* %%INCLIB%%\tcl86\include\X11\
|
||||||
"""
|
""" % versions
|
||||||
|
|
||||||
|
|
||||||
def header():
|
def header():
|
||||||
|
@ -305,7 +306,7 @@ def add_compiler(compiler):
|
||||||
mkdirs()
|
mkdirs()
|
||||||
fetch_libs()
|
fetch_libs()
|
||||||
# extract_binlib()
|
# extract_binlib()
|
||||||
script = [header(), cp_tk()]
|
script = [header(), cp_tk(libs['tk-8.5']['version'],libs['tk-8.6']['version'] )]
|
||||||
|
|
||||||
|
|
||||||
if 'PYTHON' in os.environ:
|
if 'PYTHON' in os.environ:
|
||||||
|
|
|
@ -23,7 +23,7 @@ libs = {'zlib': {
|
||||||
},
|
},
|
||||||
'tiff': {
|
'tiff': {
|
||||||
'url': 'ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.4.zip',
|
'url': 'ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.4.zip',
|
||||||
'hash': 'md5:8f538a34156188f9a8dcddb679c65d1e', # not found - generated by wiredfool
|
'hash': 'md5:8f538a34156188f9a8dcddb679c65d1e',
|
||||||
'dir': 'tiff-4.0.4',
|
'dir': 'tiff-4.0.4',
|
||||||
},
|
},
|
||||||
'freetype': {
|
'freetype': {
|
||||||
|
@ -45,6 +45,7 @@ libs = {'zlib': {
|
||||||
'url': SF_MIRROR+'/project/tcl/Tcl/8.5.18/tk8518-src.zip',
|
'url': SF_MIRROR+'/project/tcl/Tcl/8.5.18/tk8518-src.zip',
|
||||||
'hash': 'sha1:273f55148777413774aa722ecad25cabda1e31ae',
|
'hash': 'sha1:273f55148777413774aa722ecad25cabda1e31ae',
|
||||||
'dir': '',
|
'dir': '',
|
||||||
|
'version':'8.5.18',
|
||||||
},
|
},
|
||||||
'tcl-8.6': {
|
'tcl-8.6': {
|
||||||
'url': SF_MIRROR+'/project/tcl/Tcl/8.6.4/tcl864-src.zip',
|
'url': SF_MIRROR+'/project/tcl/Tcl/8.6.4/tcl864-src.zip',
|
||||||
|
@ -55,6 +56,7 @@ libs = {'zlib': {
|
||||||
'url': SF_MIRROR+'/project/tcl/Tcl/8.6.4/tk864-src.zip',
|
'url': SF_MIRROR+'/project/tcl/Tcl/8.6.4/tk864-src.zip',
|
||||||
'hash': 'md5:111d45061a69e7f5250b6ec8ca7c4f35',
|
'hash': 'md5:111d45061a69e7f5250b6ec8ca7c4f35',
|
||||||
'dir': '',
|
'dir': '',
|
||||||
|
'version':'8.6.4',
|
||||||
},
|
},
|
||||||
'webp': {
|
'webp': {
|
||||||
'url': 'http://downloads.webmproject.org/releases/webp/libwebp-0.4.3.tar.gz',
|
'url': 'http://downloads.webmproject.org/releases/webp/libwebp-0.4.3.tar.gz',
|
||||||
|
@ -68,7 +70,7 @@ libs = {'zlib': {
|
||||||
'dir': 'openjpeg-2.1.0',
|
'dir': 'openjpeg-2.1.0',
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bin_libs = {
|
bin_libs = {
|
||||||
'openjpeg': {
|
'openjpeg': {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user