Path: csiph.com!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Windows': 0.02; 'tree': 0.05; 'subject:Python': 0.06; 'context': 0.07; 'modified': 0.07; 'subject:Question': 0.07; 'mercurial': 0.09; 'newly': 0.09; 'run,': 0.09; 'skip:\\ 10': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'empty.': 0.16; 'quite.': 0.16; 'modification': 0.16; 'sender:addr:gmail.com': 0.17; 'fix': 0.17; 'wrote:': 0.18; 'do.': 0.18; 'module': 0.19; 'trying': 0.19; 'pfxlen:0': 0.19; 'meant': 0.20; 'issue.': 0.22; 'cc:addr:python.org': 0.22; 'copied': 0.24; 'mon,': 0.24; 'server.': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'source': 0.25; '15,': 0.26; 'compiled': 0.26; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'to:2**1': 0.27; 'needed.': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'gives': 0.31; 'that.': 0.31; '(on': 0.31; 'though.': 0.31; 'yes.': 0.31; 'probably': 0.32; 'copying': 0.34; "i'd": 0.34; 'could': 0.34; "can't": 0.35; 'tool': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'building': 0.35; 'subject:regarding': 0.36; 'thanks': 0.36; 'should': 0.36; 'issue': 0.38; 'pm,': 0.38; 'little': 0.38; 'gone': 0.61; "you've": 0.63; 'guarantee': 0.63; 'more': 0.64; 'situation': 0.65; 'effectively': 0.66; 'note:': 0.66; 'insight': 0.68; 'stated': 0.69; 'jul': 0.74; 'goal': 0.75; 'around,': 0.84; 'iis': 0.84; 'installer': 0.84; 'replies.': 0.84; 'philip': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=XH/f/paztzvALOEX9NtAJtL2Ov4QW/TBDv1tGfmJ2Qw=; b=L2PyVy62Lpl+9Px/AwDtyHBRPxLjvm1tjnEA5djX4AKTZZUCIBxdiHc2rHOs1TCWXt VtYEshhLi+yK8Uulcs2Oi4ndpopUlhbOTpGsqrlDLjPVrRo4YxCtMQzkfUj3HnZ7faFf YBP7fyCOqP5oEvA6UDSodaO2gjdHzzzqAs45mtH4kUm8PY2nalIVrfS2CXgu4kW7HXdl F+BWgDMpVDglr+vFuTvErnB/WtrlENVbvLxDbKhnFw3QPY0RfsgcQ1ZrK1aqQSycTthk 9iHkEA6Uh0dAUFAGJ1DgUXse3JmGguXttx8CpdnZPBcKaRG99Bb69+09cPHO/xypacnv iBPA== X-Received: by 10.204.3.10 with SMTP id 10mr7984782bkl.93.1373921486032; Mon, 15 Jul 2013 13:51:26 -0700 (PDT) MIME-Version: 1.0 Sender: zachary.ware@gmail.com In-Reply-To: <7B6560631CF08A4B8189A9CB669768F4228ECF7B@FMSMSX101.amr.corp.intel.com> References: <7B6560631CF08A4B8189A9CB669768F4228E86B7@FMSMSX101.amr.corp.intel.com> <7B6560631CF08A4B8189A9CB669768F4228EB578@FMSMSX101.amr.corp.intel.com> <7B6560631CF08A4B8189A9CB669768F4228EC7B2@FMSMSX101.amr.corp.intel.com> <7B6560631CF08A4B8189A9CB669768F4228ECF7B@FMSMSX101.amr.corp.intel.com> From: Zachary Ware Date: Mon, 15 Jul 2013 15:51:05 -0500 X-Google-Sender-Auth: N1XbPr0TOzzWkdUCGG44yDNuNsM Subject: Re: Question regarding building Python Windows installer To: "Mcadams, Philip W" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373921488 news.xs4all.nl 15879 [2001:888:2000:d::a6]:47144 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50712 (Side note: Please avoid top-posting in future. Bottom-posting keeps context more clearly) On Mon, Jul 15, 2013 at 2:27 PM, Mcadams, Philip W wrote: > Yes. My goal was to create the installer to put the modified python on m= y Mercurial server. So I could have effectively copied over the \Lib\site-packages on the server? What I was trying to resolve was = the issue with large Mercurial pushes. I instead am using the IIS Crypto t= ool to resolve the issue. I'd found a link that stated that modification t= o the _ssl.c module in Python could also fix the issue but that the python = source would to be recompiled. Since we are going with IISCrypto the Pytho= n change is no longer needed. But out curiosity, and in case I ran into a = situation where did indeed need to make a fix to Python I've wondered what'= s the best way to do that. Hopefully this gives you a little insight on wh= at I'm trying to do. Thanks for your replies. > Hmmm, not quite. \Lib\site-packages would be empty. I meant the other way around, copying the installed site-packages dir into the source tree to use mercurial from the source tree. I think you'd also have to copy hg and hg.bat from \Scripts as well, though. You might have been able to get away with just copying the newly compiled _ssl.pyd from your source tree to \DLLs, but I can't guarantee that. I think the solution you've gone for is a much better solution in the long run, though. Building your own Python (on Windows) should probably be a last resort. -- Zach