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


Groups > comp.lang.python > #33822

Re: Managing multiple packages

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <thbach@students.uni-mainz.de>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.029
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'setup.py': 0.07; 'suppose': 0.07; 'python': 0.09; 'modules.': 0.09; 'yet.': 0.13; 'driscoll': 0.16; 'sense,': 0.16; 'wrote:': 0.17; 'package.': 0.17; 'creates': 0.18; 'environments': 0.22; 'finally,': 0.22; 'symbolic': 0.22; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'this?': 0.28; 'probably': 0.29; 'to:addr:python- list': 0.33; 'nov': 0.35; 'modules': 0.36; 'charset:us-ascii': 0.36; 'being': 0.37; 'virtual': 0.37; 'subject:: ': 0.38; 'received:10': 0.38; 'to:addr:python.org': 0.39; 'content- disposition:inline': 0.60; 'link': 0.60; 'between': 0.63; 'different': 0.63; 'show': 0.63; '20,': 0.65; 'sit': 0.65; 'received:10.94': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-mainz.de; i=@uni-mainz.de; q=dns/txt; s=ironport; t=1353630207; x=1385166207; h=date:from:to:subject:message-id:references:mime-version: in-reply-to; bh=w9H9lyMeTflvtoS5i4DzvwwnIGxSIGBcKsKmkk48NpQ=; b=DcqAZOqRbOsvWAP8Srfb71EtcFMB7UUrZjdWuo4LCtl/wFDrv8nQQ8Dv XUsp9ZwgeGDYzB36tui7gel0Ky82wQuXpB1qYgXSO/+zNnt9KpcQHIvTv EQOt3yUxZMM0zRnCwcbCDXFq/vB7rEmG+MBgzs2RGS7Q7i2Q7U93ztnL8 k=;
X-IronPort-Anti-Spam-Filtered true
X-IronPort-Anti-Spam-Result Ap4EABLBrlAKXgZQ/2dsb2JhbABEwXpzgh4BAQU6TwsYHhAUKSAuh3a/XYw3gRqCRmEDlgABgRyPJoJwghw
Date Fri, 23 Nov 2012 01:22:29 +0100
From Thomas Bach <thbach@students.uni-mainz.de>
To <python-list@python.org>
Subject Re: Managing multiple packages
References <50ABF52B.1080101@wisc.edu>
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Disposition inline
In-Reply-To <50ABF52B.1080101@wisc.edu>
User-Agent Mutt/1.5.21 (2010-09-15)
X-Originating-IP [94.219.177.91]
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 <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.218.1353630208.29569.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1353630208 news.xs4all.nl 6875 [2001:888:2000:d::a6]:39134
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:33822

Show key headers only | View raw


On Tue, Nov 20, 2012 at 03:24:59PM -0600, Evan Driscoll wrote:
> 
> Suppose I have packages A-C. In addition to being modules in the Python
> sense, they are logically distinct, probably sit in different
> repositories, etc., so there's a directory layout like
> 
> [SNIP]
>
> Finally, suppose that you're changing between editing all three modules.
> 
> 
> How do you deal with this?

I am using virtual environments and do a

python setup.py develop

on each package. This just creates a symbolic link to the package and
all edits show up immediately.

I have not come up with a good solution for tox, yet.

Hope this helps,

     Thomas.

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


Thread

Re: Managing multiple packages Thomas Bach <thbach@students.uni-mainz.de> - 2012-11-23 01:22 +0100

csiph-web