[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser-bundle/master] Install py2exe for windows.



commit 95581f816baf90c43e81ac14ae7f1501da839863
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sun Nov 24 19:55:45 2013 +0000

    Install py2exe for windows.
    
    The only binary distribution is a self-installing executable, and I
    couldn't find a way to make it run from the command line. So extract it
    with 7z and copy its contents.
---
 gitian/descriptors/windows/gitian-pluggable-transports.yml |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gitian/descriptors/windows/gitian-pluggable-transports.yml b/gitian/descriptors/windows/gitian-pluggable-transports.yml
index 35dac91..6869af9 100644
--- a/gitian/descriptors/windows/gitian-pluggable-transports.yml
+++ b/gitian/descriptors/windows/gitian-pluggable-transports.yml
@@ -7,6 +7,7 @@ architectures:
 packages: 
 - "git-core"
 - "zip"
+- "p7zip-full"
 - "mingw-w64"
 - "faketime"
 - "libtool"
@@ -17,6 +18,7 @@ remotes:
 files:
 - "ubuntu-wine.gpg"
 - "python.msi"
+- "py2exe.exe"
 - "dzip.sh"
 script: |
   INSTDIR="$HOME/install"
@@ -60,6 +62,9 @@ script: |
   LD_PRELOAD= msiexec /qn /i python.msi TARGETDIR=$INSTDIR/python
   INSTPYTHON="wine $INSTDIR/python/python.exe"
   #
+  7z x py2exe.exe
+  cp -a PLATLIB/* $INSTDIR/python/Lib/site-packages/
+  #
   cd openssl
   find -type f | xargs touch --date="$REFERENCE_DATETIME"
   ./Configure -shared --cross-compile-prefix=i686-w64-mingw32- mingw --prefix=$INSTDIR/openssl



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits