Ticket #8549: 0001-Add-argparse-to-bundle-instructions.2.patch

File 0001-Add-argparse-to-bundle-instructions.2.patch, 1.6 KB (added by aallai, 6 years ago)
  • doc/bundle-macosx.txt

    From 17968553e9b29d54933f084a9ecedbe2fc633746 Mon Sep 17 00:00:00 2001
    From: Alexandre Allaire <alexandre.allaire@mail.mcgill.ca>
    Date: Mon, 25 Mar 2013 19:57:06 -0400
    Subject: [PATCH] Add argparse to bundle instructions.
    
    ---
     doc/bundle-macosx.txt |   14 ++++++++++++++
     1 file changed, 14 insertions(+)
    
    diff --git a/doc/bundle-macosx.txt b/doc/bundle-macosx.txt
    index a67f239..d95bdf9 100644
    a b Extract and verify the tarball. Then run 
    5656        $ cd pyptlib
    5757        $ python setup.py install --root=~/bundle --prefix=/usr
    5858
     59=== argparse
     60
     61This is included for compatibility with older versions of python.
     62See https://trac.torproject.org/projects/tor/ticket/8549.
     63
     64https://argparse.googlecode.com/files/argparse-1.2.1.tar.gz
     65
     66The sha256 sum should be
     67
     68ddaf4b0a618335a32b6664d4ae038a1de8fbada3b25033f9021510ed2b3941a4  argparse-1.2.1.tar.gz
     69
     70Extract the tarball into your bundle directory.
     71
    5972== Browser bundle
    6073
    6174Clone and build the flashproxy source.
    Copy files into the bundle. 
    89102        $ cp ~/flashproxy/dist/flashproxy-client-VERSION/{doc/*,README,LICENSE,ChangeLog} Contents/Resources/Docs/FlashProxy
    90103        $ cp -r ~/pyobfsproxy/{obfsproxy,bin/pyobfsproxy} Contents/MacOs
    91104        $ cp -r ~/bundle/usr/lib/python2.7/site-packages/{Crypto,pyptlib} Contents/MacOS
     105        $ cp ~/bundle/argparse-1.2.1/argparse.py Contents/MacOS
    92106        $ mkdir -p Contents/Resources/Docs/PyObfsproxy
    93107        $ cp ~/pyobfsproxy/{LICENSE,README} Contents/Resources/Docs/PyObfsproxy
    94108        $ find Contents/MacOS -name '*.pyc' | xargs rm -f