Path: csiph.com!x330-a1.tempe.blueboxinc.net!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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'happen,': 0.07; 'installed.': 0.07; 'python': 0.08; 'also:': 0.09; 'content- type:multipart/signed': 0.09; 'filename:fname piece:signature': 0.09; 'msi': 0.09; 'am,': 0.12; '(at)': 0.16; '(dot)': 0.16; '.py': 0.16; 'content-type:application/pgp-signature': 0.16; 'filename:fname piece:asc': 0.16; 'filename:fname:signature.asc': 0.16; 'installer,': 0.16; 'python.exe': 0.16; 'situations,': 0.16; 'wrote:': 0.16; 'subject:Windows': 0.18; "'python": 0.18; 'blog:': 0.21; 'header:In-Reply-To:1': 0.22; '(we': 0.23; 'convenience': 0.23; "python's": 0.24; 'work.': 0.27; 'explicitly': 0.29; 'fine.': 0.29; '3.x': 0.30; 'hansen': 0.30; 'subject:?': 0.31; 'received:24': 0.32; 'does': 0.32; 'installed': 0.32; 'actually': 0.33; "can't": 0.33; 'to:addr:python-list': 0.33; 'copying': 0.33; '...': 0.34; 'eric': 0.34; 'directory.': 0.34; 'another': 0.37; 'machine': 0.37; 'run': 0.37; 'but': 0.37; 'install': 0.37; 'not,': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'should': 0.38; 'subject:: ': 0.39; 'i.e.': 0.39; 'else': 0.39; 'to:addr:python.org': 0.39; 'where': 0.40; 'your': 0.61; 'grab': 0.66; 'header:Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.71; 'mail:': 0.73; 'customers': 0.73; 'received:209.85.218.46': 0.91; 'received:mail- yi0-f46.google.com': 0.91; 'url:io': 0.93 Sender: Ixokai Date: Tue, 23 Aug 2011 12:52:34 -0700 From: Stephen Hansen MIME-Version: 1.0 To: python-list@python.org Subject: Re: Windows No-Install Distribution? References: In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=555B1FE5; url=http://id.ixokai.io/pub.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC4C08B17CE6119CD0BF99F7B" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: me+list/python@ixokai.io 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: 56 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1314129182 news.xs4all.nl 23848 [2001:888:2000:d::a6]:35759 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:12112 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC4C08B17CE6119CD0BF99F7B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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, 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, Now copy/zip/whatever that Python directory to another machine where it was not installed. It'll work fine. You'll have to explicitly provide the path to the Python.exe of course; you can't just double-click on a .py or run 'python blah.py', but if your shortcuts/whatever all do C:\Where\You\Installed\Python.exe, everything should just work. We do that at work and never run into any trouble. (We actually provide a MSI but only for convenience of customers who want to auto-install via Group Policy). In most situations, Python's good at "finding itself", i.e. where the python.exe is actually located -- and it boostraps the location of everything else based on that. --=20 Stephen Hansen ... Also: Ixokai ... Mail: me+list/python (AT) ixokai (DOT) io ... Blog: http://meh.ixokai.io/ --------------enigC4C08B17CE6119CD0BF99F7B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (Darwin) iQEcBAEBAgAGBQJOVAUUAAoJEKcbwptVWx/lu6gH/2FSClybtrW1SapOvRjwqRW4 7etoqdO52TVIW38bmOxvlxIbvZxPBGYQk2PExcD9U5DwMiU93tVdxkv9nleIc0x7 gTmS47dp3qjNTBeFa+0yY8EHuMm/XGxlz9sVz1KP2IqpaRhSboV4WUekC6Xna0h+ VyWeOOEoDvy/0OI9Ria/UujanA/O/fQt1MZ6veDpkbJtisAHg19o3aIRh6yGmbjz yysMHF4c+1bBoC+39g9kV7vjyx5t2jVHaxsBPhKEHz57oXd+LZTqrA5fLe56/9ii UX66RjYU4Wkly1IT8NZF2/kivyaofqVuVGdJQ38MbMfmqD82IRE+cslCSrAHZGg= =5adt -----END PGP SIGNATURE----- --------------enigC4C08B17CE6119CD0BF99F7B--