##// END OF EJS Templates
wix: move library.zip and all *.pyd into a lib/ folder...
Steve Borho -
r25409:95e042d7 default
parent child Browse files
Show More
@@ -7,24 +7,28 b''
7 <Fragment>
7 <Fragment>
8 <DirectoryRef Id="INSTALLDIR" FileSource="$(var.SourceDir)">
8 <DirectoryRef Id="INSTALLDIR" FileSource="$(var.SourceDir)">
9 <Component Id="distOutput" Guid="$(var.dist.guid)" Win64='$(var.IsX64)'>
9 <Component Id="distOutput" Guid="$(var.dist.guid)" Win64='$(var.IsX64)'>
10 <File Name="library.zip" KeyPath="yes" />
10 <File Name="python27.dll" KeyPath="yes" />
11 <File Name="mercurial.base85.pyd" />
12 <File Name="mercurial.bdiff.pyd" />
13 <File Name="mercurial.diffhelpers.pyd" />
14 <File Name="mercurial.mpatch.pyd" />
15 <File Name="mercurial.osutil.pyd" />
16 <File Name="mercurial.parsers.pyd" />
17 <File Name="pyexpat.pyd" />
18 <File Name="python27.dll" />
19 <File Name="bz2.pyd" />
20 <File Name="select.pyd" />
21 <File Name="unicodedata.pyd" />
22 <File Name="_ctypes.pyd" />
23 <File Name="_elementtree.pyd" />
24 <File Name="_hashlib.pyd" />
25 <File Name="_socket.pyd" />
26 <File Name="_ssl.pyd" />
27 </Component>
11 </Component>
12 <Directory Id="libdir" Name="lib" FileSource="$(var.SourceDir)/lib">
13 <Component Id="libOutput" Guid="$(var.lib.guid)" Win64='$(var.IsX64)'>
14 <File Name="library.zip" KeyPath="yes" />
15 <File Name="mercurial.base85.pyd" />
16 <File Name="mercurial.bdiff.pyd" />
17 <File Name="mercurial.diffhelpers.pyd" />
18 <File Name="mercurial.mpatch.pyd" />
19 <File Name="mercurial.osutil.pyd" />
20 <File Name="mercurial.parsers.pyd" />
21 <File Name="pyexpat.pyd" />
22 <File Name="bz2.pyd" />
23 <File Name="select.pyd" />
24 <File Name="unicodedata.pyd" />
25 <File Name="_ctypes.pyd" />
26 <File Name="_elementtree.pyd" />
27 <File Name="_hashlib.pyd" />
28 <File Name="_socket.pyd" />
29 <File Name="_ssl.pyd" />
30 </Component>
31 </Directory>
28 </DirectoryRef>
32 </DirectoryRef>
29 </Fragment>
33 </Fragment>
30
34
@@ -9,7 +9,8 b''
9 <?define contrib.vim.guid = {BB04903A-652D-4C4F-9590-2BD07A2304F2} ?>
9 <?define contrib.vim.guid = {BB04903A-652D-4C4F-9590-2BD07A2304F2} ?>
10
10
11 <!-- dist.wxs -->
11 <!-- dist.wxs -->
12 <?define dist.guid = {C3B634A4-1B05-4A40-94A9-38EE853CF693} ?>
12 <?define dist.guid = {CE405FE6-CD1E-4873-9C9A-7683AE5A3D90} ?>
13 <?define lib.guid = {91D53B14-E924-432A-ACA2-65F9B3F7C56A} ?>
13
14
14 <!-- doc.wxs -->
15 <!-- doc.wxs -->
15 <?define doc.hg.1.html.guid = {AAAA3FDA-EDC5-4220-B59D-D342722358A2} ?>
16 <?define doc.hg.1.html.guid = {AAAA3FDA-EDC5-4220-B59D-D342722358A2} ?>
@@ -118,6 +118,7 b''
118 Level='1' Absent='disallow' >
118 Level='1' Absent='disallow' >
119 <ComponentRef Id='MainExecutable' />
119 <ComponentRef Id='MainExecutable' />
120 <ComponentRef Id='distOutput' />
120 <ComponentRef Id='distOutput' />
121 <ComponentRef Id='libOutput' />
121 <ComponentRef Id='ProgramMenuDir' />
122 <ComponentRef Id='ProgramMenuDir' />
122 <ComponentRef Id='ReadMe' />
123 <ComponentRef Id='ReadMe' />
123 <ComponentRef Id='COPYING' />
124 <ComponentRef Id='COPYING' />
@@ -557,6 +557,8 b' if py2exeloaded:'
557 'product_version':version}]
557 'product_version':version}]
558 # sub command of 'build' because 'py2exe' does not handle sub_commands
558 # sub command of 'build' because 'py2exe' does not handle sub_commands
559 build.sub_commands.insert(0, ('build_hgextindex', None))
559 build.sub_commands.insert(0, ('build_hgextindex', None))
560 # put dlls in sub directory so that they won't pollute PATH
561 extra['zipfile'] = 'lib/library.zip'
560
562
561 if os.name == 'nt':
563 if os.name == 'nt':
562 # Windows binary file versions for exe/dll files must have the
564 # Windows binary file versions for exe/dll files must have the
General Comments 0
You need to be logged in to leave comments. Login now