##// END OF EJS Templates
packaging: don't bundle DLLs in py2exe library.zip for x86 builds...
Gregory Szorc -
r42119:d6e3c16d default
parent child Browse files
Show More
@@ -128,7 +128,7 b' def build_py2exe(source_dir: pathlib.Pat'
128 print('building Mercurial')
128 print('building Mercurial')
129 subprocess.run(
129 subprocess.run(
130 [str(venv_python), 'setup.py',
130 [str(venv_python), 'setup.py',
131 'py2exe', '-b', '3' if vc_x64 else '2',
131 'py2exe',
132 'build_doc', '--html'],
132 'build_doc', '--html'],
133 cwd=str(source_dir),
133 cwd=str(source_dir),
134 env=env,
134 env=env,
@@ -71,10 +71,8 b' Source: contrib\\hgweb.wsgi; DestDir: {ap'
71 Source: contrib\win32\ReadMe.html; DestDir: {app}; Flags: isreadme
71 Source: contrib\win32\ReadMe.html; DestDir: {app}; Flags: isreadme
72 Source: contrib\win32\postinstall.txt; DestDir: {app}; DestName: ReleaseNotes.txt
72 Source: contrib\win32\postinstall.txt; DestDir: {app}; DestName: ReleaseNotes.txt
73 Source: dist\hg.exe; DestDir: {app}; AfterInstall: Touch('{app}\hg.exe.local')
73 Source: dist\hg.exe; DestDir: {app}; AfterInstall: Touch('{app}\hg.exe.local')
74 #if ARCH == "x64"
75 Source: dist\lib\*.dll; Destdir: {app}\lib
74 Source: dist\lib\*.dll; Destdir: {app}\lib
76 Source: dist\lib\*.pyd; Destdir: {app}\lib
75 Source: dist\lib\*.pyd; Destdir: {app}\lib
77 #endif
78 Source: dist\python*.dll; Destdir: {app}; Flags: skipifsourcedoesntexist
76 Source: dist\python*.dll; Destdir: {app}; Flags: skipifsourcedoesntexist
79 Source: dist\msvc*.dll; DestDir: {app}; Flags: skipifsourcedoesntexist
77 Source: dist\msvc*.dll; DestDir: {app}; Flags: skipifsourcedoesntexist
80 Source: dist\Microsoft.VC*.CRT.manifest; DestDir: {app}; Flags: skipifsourcedoesntexist
78 Source: dist\Microsoft.VC*.CRT.manifest; DestDir: {app}; Flags: skipifsourcedoesntexist
@@ -1364,6 +1364,7 b" setup(name='mercurial',"
1364 distclass=hgdist,
1364 distclass=hgdist,
1365 options={
1365 options={
1366 'py2exe': {
1366 'py2exe': {
1367 'bundle_files': 3,
1367 'dll_excludes': py2exedllexcludes,
1368 'dll_excludes': py2exedllexcludes,
1368 'excludes': py2exeexcludes,
1369 'excludes': py2exeexcludes,
1369 'packages': py2exepackages,
1370 'packages': py2exepackages,
General Comments 0
You need to be logged in to leave comments. Login now