Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'happen,': 0.07; 'modules.': 0.07; 'received:verizon.net': 0.07; 'terry': 0.07; 'tests,': 0.07; 'python': 0.08; 'presume': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subdirectory': 0.09; 'am,': 0.12; 'experiment.': 0.16; 'install.': 0.16; 'installer,': 0.16; 'library?': 0.16; 'needed?': 0.16; 'reedy': 0.16; 'wrote:': 0.16; 'subject:Windows': 0.18; '>>>': 0.18; 'once,': 0.18; 'jan': 0.19; 'header:In-Reply-To:1': 0.22; 'pm,': 0.24; 'aug': 0.24; '3.x': 0.30; 'hansen': 0.30; 'modules': 0.31; 'subject:?': 0.31; 'least': 0.31; 'does': 0.32; 'installed': 0.32; 'too': 0.33; 'to:addr :python-list': 0.33; 'that,': 0.33; 'copying': 0.33; 'header:User- Agent:1': 0.34; 'eric': 0.34; 'test': 0.34; 'directory.': 0.34; 'header:X-Complaints-To:1': 0.35; 'but': 0.37; 'install': 0.37; 'not,': 0.38; 'received:org': 0.38; 'subject:: ': 0.39; 'i.e.': 0.39; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'might': 0.40; 'leave': 0.40; 'more': 0.60; 'your': 0.61; 'custom': 0.61; 'believe': 0.65; 'grab': 0.66; 'limit': 0.66; 'everything.': 0.84; 'comprise': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Windows No-Install Distribution? Date: Tue, 23 Aug 2011 19:28:47 -0400 References: <5204a1ee-70f5-4eec-9693-d915366b6fe4@d7g2000vbv.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-74-109-121-73.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 In-Reply-To: <5204a1ee-70f5-4eec-9693-d915366b6fe4@d7g2000vbv.googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1314142176 news.xs4all.nl 23954 [2001:888:2000:d::a6]:34192 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:12124 On 8/23/2011 5:56 PM, Eric Lemings wrote: > On Aug 23, 1:52 pm, Stephen Hansen wrote: >> On 8/23/11 8:29 AM, Eric Lemings wrote: >> >>> I would like to create/find a Python 3.x distribution that can be >>> redeployed simply by copying a directory of required files; i.e. >> >> Just take the default installer, install it, except do a custom install and leave out what you do not want. (Tools? tcl/tk/idle?). You can leave out tests, but then you might want that, at least once, to test your no-install copy. >> and then check the Python >> directory: does it have the python DLL? If not, go look into the >> system32 directory, grab it, drop it in the Python directory. (If you >> installed for all-users this will happen, For Python3, python3.dll in in Python3y\DLLs even for all users install. I believe this is per MS recommendation. So just copy the entire python3y directory. > Which files comprise the standard Python library? Only the files in > the 'Lib' subdirectory That only has Python-coded modules. > or are more needed? C-coded modules are in /DLLs. I presume /libs is needed too but I do not really know, and I will not experiment. Just limit your install to what you want and copy everything. -- Terry Jan Reedy