Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60623
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| 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; 'subject:Windows': 0.02; 'scripts': 0.03; 'example:': 0.03; 'interpreter': 0.05; 'subject:Python': 0.06; 'executable': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'suggestions.': 0.09; 'python': 0.11; 'windows': 0.15; 'easy_install': 0.16; 'folder,': 0.16; 'invoked,': 0.16; 'pytest': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; 'folder': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'tests': 0.22; 'install': 0.23; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'recognize': 0.24; 'fine': 0.24; 'environment': 0.24; "i've": 0.25; 'script': 0.25; 'suggested': 0.26; 'somewhere': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'tried': 0.27; 'correct': 0.29; 'external': 0.29; "i'm": 0.30; 'convenience': 0.31; 'subject:skip:i 10': 0.31; 'this.': 0.32; 'regular': 0.32; 'running': 0.33; 'cases': 0.33; 'there': 0.35; 'version': 0.36; 'described': 0.36; 'machine.': 0.36; 'easily': 0.37; 'thank': 0.38; 'needed': 0.38; 'to:addr :python-list': 0.38; 'environment.': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'temporarily': 0.60; 'from:charset:utf-8': 0.61; 'our': 0.64; 'targeted': 0.69; 'received:93': 0.72; 'batchelder': 0.84; 'installer': 0.84; 'played': 0.84; 'received:hr': 0.84; 'items,': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| 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 | Wed, 27 Nov 2013 18:33:12 +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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | 93-139-4-232.adsl.net.t-com.hr |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
| In-Reply-To | <l6vk3m$ija$1@ger.gmane.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 <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3310.1385573607.18130.python-list@python.org> (permalink) |
| Lines | 37 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1385573607 news.xs4all.nl 15970 [2001:888:2000:d::a6]:44255 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:60623 |
Show key headers only | View raw
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