Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'argument': 0.05; 'escape': 0.09; 'setup.py': 0.09; 'subject:version': 0.09; 'cc:addr:python- list': 0.11; 'python': 0.11; 'bdist_rpm': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:bdist_rpm': 0.16; 'sure.': 0.16; 'wanted.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'else,': 0.19; 'putting': 0.22; 'shell': 0.22; 'cc:addr:python.org': 0.22; 'advise.': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'to?': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'file': 0.32; 'skip:- 30': 0.32; 'subject:with': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'depends': 0.38; 'nov': 0.38; 'quote': 0.39; 'enough': 0.39; 'how': 0.40; 'course': 0.61; 'on?': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=wRsYoBN+mdHsgjrsycERvHs93tdVoJkzBX/QaLAtRS8=; b=gPTt4y37H+WL/OpZZo02+H9gJ+ovNjOBmpKBpxXj5pSwg82yaXaPZHJdOqE51pYwhL f8hzUDEM127f83XaCb3++uKEolZL1Pk/cywJqUmv3EMvn0EjKZHzqxgL8AeiWXA+4Wey bq1BAYJ4X5cCpPj7oQupk5kLQsrgos3baxw939AWboVq4FE0UrGu8zMRwK0mltWJUBvo PXjANglxdrK4Ow/ju2mLeIlNTiMn9gAAeMwe0ToAp6WJTaJYmoRNfVr07S/FPW2LBFlL CiwekC8ht6SS05xmMbgOwwyLMGp2uXf/jo0IKy+LGaH0ou7JEb0H6i1DimIWkn2ghN91 Eljw== MIME-Version: 1.0 X-Received: by 10.50.136.134 with SMTP id qa6mr9605642igb.2.1415429216490; Fri, 07 Nov 2014 22:46:56 -0800 (PST) In-Reply-To: <92de50e7-e430-42a3-b10b-9e0b851ceb71@googlegroups.com> References: <92de50e7-e430-42a3-b10b-9e0b851ceb71@googlegroups.com> Date: Sat, 8 Nov 2014 17:46:56 +1100 Subject: Re: bdist_rpm with --requires and version From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1415429219 news.xs4all.nl 2872 [2001:888:2000:d::a6]:56526 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3624 X-Received-Body-CRC: 4171799567 Xref: csiph.com comp.lang.python:80394 On Sat, Nov 8, 2014 at 2:18 AM, wrote: > But how to? ... > python setup.py bdist_rpm --requires=another-package>=2.1 > > Of course this will generate a "=2.1" file which is > of course not wanted. What shell are you on? On POSIX shells, just quote or escape the relevant part. On Windows... I'm not sure. Depends whether you have cmd.exe, powershell, or something else, and I don't know any of them well enough to advise. But try putting the whole argument in quotes. ChrisA