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


Groups > comp.lang.python > #80364 > unrolled thread

bdist_rpm with --requires and version

Started bythomas.lehmann@teamaol.com
First post2014-11-07 07:18 -0800
Last post2014-11-08 17:46 +1100
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  bdist_rpm with --requires and version thomas.lehmann@teamaol.com - 2014-11-07 07:18 -0800
    Re: bdist_rpm with --requires and version Chris Angelico <rosuav@gmail.com> - 2014-11-08 17:46 +1100

#80364 — bdist_rpm with --requires and version

Fromthomas.lehmann@teamaol.com
Date2014-11-07 07:18 -0800
Subjectbdist_rpm with --requires and version
Message-ID<92de50e7-e430-42a3-b10b-9e0b851ceb71@googlegroups.com>
Hi,

using the RPM build I wonder how I can require a certain version
of another RPM like:

Working:
  python setup.py bdist_rpm --requires=another-package

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.

How to do it right?

[toc] | [next] | [standalone]


#80394

FromChris Angelico <rosuav@gmail.com>
Date2014-11-08 17:46 +1100
Message-ID<mailman.15579.1415429219.18130.python-list@python.org>
In reply to#80364
On Sat, Nov 8, 2014 at 2:18 AM,  <thomas.lehmann@teamaol.com> 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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web