Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!feed.xsnews.nl!border-1.ams.xsnews.nl!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.05; 'repository': 0.05; 'dependency': 0.07; 'python': 0.09; 'language': 0.14; 'from:addr:ian': 0.16; 'scipy,': 0.16; 'wary': 0.16; 'wrote:': 0.17; 'specify': 0.17; 'jan': 0.18; '(not': 0.20; 'python?': 0.20; 'sort': 0.21; 'all,': 0.21; 'lets': 0.22; 'libraries': 0.22; "i've": 0.23; 'seems': 0.23; 'header:In- Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'necessary.': 0.27; 'received:192.168.1.3': 0.29; 'received:208.97': 0.29; 'received:208.97.132': 0.29; 'received:66.33': 0.29; 'received:66.33.216': 0.29; 'received:66.33.216.122': 0.29; 'received:dreamhost.com': 0.29; 'received:g.dreamhost.com': 0.29; 'received:hapkido.dreamhost.com': 0.29; 'url:mailman': 0.29; 'fri,': 0.30; 'url:python': 0.32; 'file': 0.32; 'url:listinfo': 0.32; '11,': 0.33; 'to:addr:python-list': 0.33; 'typically': 0.33; 'version': 0.34; 'project': 0.34; 'doing': 0.35; 'pm,': 0.35; 'subject:?': 0.35; 'something': 0.35; 'there': 0.35; 'tool': 0.36; 'but': 0.36; 'url:org': 0.36; 'modules': 0.36; 'thank': 0.36; 'possible': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'build': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'url:mail': 0.40; 'received:208': 0.63; 'great': 0.64; 'management': 0.65; 'brown': 0.65; 'concerns': 0.65; 'fact,': 0.69; '2013': 0.84; 'received:208.97.132.66': 0.84; 'hassle': 0.91 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=feete.org; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=feete.org; bh=5T4qRhB mNDVmn166qO31xCmWQUs=; b=I/Q7dLrNKCx9w5qVf8bA80I2YV+WY2G+IsOaSUE nbqUjkPsAPWJbH1sfy5IN5YEWI82/7LJRd2CZ2Ce6B+BTsekRcplOQahV4+WpWke MX+3X1GmLQSVIYDgDzJEgGDctjXj+4XjvOjvrfvM1dUpoxX6A2nvcGmTyHLyMOeF oKU8= Date: Fri, 11 Jan 2013 23:04:38 +0000 From: Ian Foote User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Dependency management in Python? References: <6b91570c-9cf0-4caf-8727-b463c6d098cd@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357945494 news.xs4all.nl 6848 [2001:888:2000:d::a6]:51830 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36655 On 11/01/13 22:34, Rodrick Brown wrote: > On Fri, Jan 11, 2013 at 5:23 PM, Adelbert Chang > wrote: > > Hi all, > > I've been using Python for a while now but one of my concerns is if > it is possible to have some sort of dependency management (not sure > if right term) for Python? > > In the Scala language there is the Simple Build Tool that lets me > specify on a project-by-project basis which libraries I want to use > (provided they are in a central repository somewhere) and it will > download them for me. Better yet, when a new version comes out I > need only change the SBT configuration file for that project and it > will download it for me. > > Is there something like this for Python. I am typically wary of > downloading Python modules I use like NumPy, SciPy, NetworkX, etc > because I want to be able to upgrade at any time and doing so seems > to be a hassle - in fact, I am not entirely sure how to "upgrade". > > > Checkout PIP/setuptools and virtualenv > > Thank you and regards, > -Adelbert > -- > http://mail.python.org/mailman/listinfo/python-list > pip and virtualenv is a great combination. I also like to use virtualenvwrapper for convenience, but it isn't necessary. Ian F