Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60623
| From | Jurko Gospodnetić <jurko.gospodnetic@pke.hr> |
|---|---|
| Subject | Re: Parallel Python x.y.A and x.y.B installations on a single Windows machine |
| Date | 2013-11-27 18:33 +0100 |
| Organization | PKE sistemi d.o.o. |
| References | <l6vg0i$nb$1@ger.gmane.org> <CAPTjJmp=YB8oBLb-fGUyDbhxeX-ir6Bg03Omu4-6=g8HwWEmpw@mail.gmail.com> <l6vk3m$ija$1@ger.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3310.1385573607.18130.python-list@python.org> (permalink) |
Hi.
On 25.11.2013. 14:42, Jurko Gospodnetić wrote:
> So far all tests seem to indicate that things work out fine if we
> install to some dummy target folder, copy the target folder to some
> version specific location & uninstall. That leaves us with a working
> Python folder sans the start menu and registry items, both of which we
> do not need for this. Everything I've played around with so far seems to
> use the correct Python data depending on the interpreter executable
> invoked, whether or not there is a regular Windows installation
> somewhere on the same machine.
>
> We can use the script suggested by Ned Batchelder to temporarily
> change the 'current installation' if needed for some external installer
> package to correctly recognize where to install its content.
>
> I'm still playing around with this, and will let you know how it goes.
Just wanted to let you know that the usage I described above seems to
work in all the cases I tried out.
I added some batch scripts for running a specific Python interpreter
as a convenience and everything works 'naturally' in our development
environment.
Packages can be easily installed to a specific targeted environment
using for example:
py243 -m easy_install pip
py332 -m pip install pytest
[not mentioning tweaks needed for specific ancient Python versions]
Thank you all for all the suggestions.
Best regards,
Jurko Gospodnetić
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Parallel Python x.y.A and x.y.B installations on a single Windows machine Jurko Gospodnetić <jurko.gospodnetic@pke.hr> - 2013-11-27 18:33 +0100
csiph-web