Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.04; 'subject:Python': 0.05; 'function,': 0.07; 'python': 0.08; 'distutils': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'subject:distutils': 0.09; 'from:addr:behnel.de': 0.16; 'from:addr:stefan_ml': 0.16; 'from:name:stefan behnel': 0.16; 'subject: \n ': 0.16; 'subject:packaging': 0.16; 'subject:required': 0.16; 'header:In- Reply-To:1': 0.22; 'packaging': 0.24; "python's": 0.24; 'stefan': 0.24; 'installed': 0.29; 'confused': 0.30; 'instead.': 0.32; 'there': 0.33; "can't": 0.33; 'header:User-Agent:1': 0.33; 'header:X-Complaints-To:1': 0.34; 'received:84': 0.34; 'to:addr :python-list': 0.35; 'switch': 0.35; 'received:org': 0.36; 'but': 0.37; 'possible,': 0.39; 'that.': 0.39; 'subject: (': 0.40; 'to:addr:python.org': 0.40; 'achieve': 0.61; 'believe': 0.65 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Stefan Behnel Subject: Re: Python packaging usabilty (distutils) - automatic downloading required packages Date: Sat, 25 Feb 2012 16:29:45 +0100 References: <9e4490eb-d6ab-468c-986f-a5017a0165fe@em9g2000vbb.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: dslb-084-056-032-000.pools.arcor-ip.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: <9e4490eb-d6ab-468c-986f-a5017a0165fe@em9g2000vbb.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1330183800 news.xs4all.nl 6987 [2001:888:2000:d::a6]:44643 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20856 XLiIV, 25.02.2012 15:47: > There is many packaging solutions for python. > I was confused about that but it's nothing. I had to pick one of them. > I picked distutils because it's part of standard python since 3.3, am > i right? Distutils has been part of Python's stdlib for ages. > My goal is to write setup.py with this feature: 'download required > package if not installed already, like sqlalchemy'. > How can I achieve that with DISTUTILS? > I found out that is not possible, seriously? I can't believe that. > It's basic function, I think. > Do I really switch to setuptools? No, use "distribute" instead. Stefan