Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #12112

Re: Windows No-Install Distribution?

Date 2011-08-23 12:52 -0700
From Stephen Hansen <me+list/python@ixokai.io>
Subject Re: Windows No-Install Distribution?
References <a3e33488-fb12-407c-8a3e-9acb6b839302@l2g2000vbn.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.367.1314129182.27778.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

-- 

   Stephen Hansen
   ... Also: Ixokai
   ... Mail: me+list/python (AT) ixokai (DOT) io
   ... Blog: http://meh.ixokai.io/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Windows No-Install Distribution? Eric Lemings <eric.lemings@gmail.com> - 2011-08-23 08:29 -0700
  Re: Windows No-Install Distribution? Redcat <redcat@streemit.net> - 2011-08-23 15:31 +0000
    Re: Windows No-Install Distribution? Eric Lemings <eric.lemings@gmail.com> - 2011-08-23 09:46 -0700
  Re: Windows No-Install Distribution? Andrew Berg <bahamutzero8825@gmail.com> - 2011-08-23 10:59 -0500
  Re: Windows No-Install Distribution? Stephen Hansen <me+list/python@ixokai.io> - 2011-08-23 12:52 -0700
    Re: Windows No-Install Distribution? Eric Lemings <eric.lemings@gmail.com> - 2011-08-23 14:56 -0700
      Re: Windows No-Install Distribution? Terry Reedy <tjreedy@udel.edu> - 2011-08-23 19:28 -0400

csiph-web