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


Groups > comp.lang.python > #27004

Re: Does anyone have an activate script for portable python?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.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; 'python.': 0.02; 'default.': 0.07; 'properly.': 0.07; 'seemed': 0.07; 'scripts': 0.09; 'python': 0.09; 'cmd': 0.09; 'exist.': 0.09; 'icon': 0.09; 'portable': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'script,': 0.09; 'subject:Does': 0.09; 'subject:script': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; 'aug': 0.13; 'file,': 0.15; 'at,': 0.16; 'portably': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'such,': 0.16; 'wrote:': 0.17; 'helper': 0.17; 'windows': 0.19; 'python?': 0.20; 'skip:" 40': 0.20; 'cc:2**0': 0.23; 'installed': 0.23; 'cc:no real name:2**0': 0.24; 'idea': 0.24; 'feature': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'am,': 0.27; 'guess': 0.27; "doesn't": 0.28; 'header:X-Complaints-To:1': 0.28; "i'm": 0.29; 'window': 0.30; 'point': 0.31; 'could': 0.32; 'to:addr:python-list': 0.33; 'exist': 0.35; 'path': 0.35; 'requiring': 0.35; 'subject:?': 0.35; 'there': 0.35; 'received:org': 0.36; 'but': 0.36; 'message- id:@gmail.com': 0.36; '12,': 0.36; "didn't": 0.36; 'should': 0.36; 'too': 0.36; 'well.': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'easily': 0.39; 'called': 0.39; 'header:Received:5': 0.40; 'first': 0.61; 'click': 0.76; 'subject:have': 0.79; 'gelonida': 0.84; 'sfxlen:4': 0.84; 'window,': 0.84; 'glance': 0.91; 'pfxlen:big': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Gelonida N <gelonida@gmail.com>
Subject Re: Does anyone have an activate script for portable python?
Date Mon, 13 Aug 2012 21:15:51 +0200
References <mailman.3197.1344726587.4697.python-list@python.org> <e88b9e31-a3ef-4ea9-9ad7-d8469e883017@c4g2000pbw.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Cc python-list@python.org
X-Gmane-NNTP-Posting-Host unicorn.dungeon.de
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
In-Reply-To <e88b9e31-a3ef-4ea9-9ad7-d8469e883017@c4g2000pbw.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 <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3241.1344885370.4697.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1344885370 news.xs4all.nl 6980 [2001:888:2000:d::a6]:49258
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:27004

Show key headers only | View raw


On 08/13/2012 02:12 AM, alex23 wrote:
> On Aug 12, 9:09 am, Gelonida N <gelon...@gmail.com> wrote:
>> In Pythons installed with virtualenv there is on windows an activate.bat
>> script, that can be used to setup the cmd-shell such, that the search
>> path for python and pythor elated tools (pip / easy_install) is setup
>> properly.
>> Do such a scripts also exist for Portable python?
>
>
> Portable Python is just Python with some helper scripts for not
> requiring a system installation.
>
> So "command-line-command-to-run-portable-python virtualenv <venv-
> name>" should be all you need.
>
Hmm I guess I didn't express myself very well.

The idea is to easily create a cmd window, that the path is setup in 
order to point to portably python by default.

At a first glance at Portable Python it seemed to me, that this doesn't 
exist.

Having a small icon to click at, that opens a cmd window with the right 
setup or just a .bat file, that could be called to adapt the setup of an 
existing cmd window.


It's not too difficult to write such scipts, but I though it would be 
interesting to see whether I'm the only one missing such feature in 
portable Python.

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


Thread

Does anyone have an activate script for portable python? Gelonida N <gelonida@gmail.com> - 2012-08-12 01:09 +0200
  Re: Does anyone have an activate script for portable python? alex23 <wuwei23@gmail.com> - 2012-08-12 17:12 -0700
    Re: Does anyone have an activate script for portable python? Gelonida N <gelonida@gmail.com> - 2012-08-13 21:15 +0200

csiph-web