[Distutils] How do I specify the target OS version ?

Christian Tismer tismer at stackless.com
Fri Apr 11 23:41:38 CEST 2014


Hey guys,

I am trying to publish some binaries with Wheel for the first time.

Building PySide with

    python bidst_wheel

I would like how the OS version is determined, or even more, how this is
defined.

Without any argument, when building PySide, I get two different
versions:
PySide-1.3.0dev-cp34-cp34m-macosx_10_9_x86_64.whl
PySide-1.3.0dev-cp27-none-macosx_10_8_x86_64.whl

For some reason, one python is supported by Mavericks and one is not.
Also, I am confused by the different output from the two.

I would like to be able to control this and say where the stuff should
run. I also cannot figure out how mandatory these strings are.
Is a version enforced? Is it recommended?
What will PyPi say?

And how do I see which version PyPi use when I """pip install xxx" ?

How do I define that? Did not find that in the docs, but that is due to
my impaired vision.

Any help/advice would be appreciated.

Cheers -- Chris


-- 
Christian Tismer             :^)   <mailto:tismer at stackless.com>
Software Consulting          :     Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121     :    *Starship* http://starship.python.net/
14482 Potsdam                :     PGP key -> http://pgp.uni-mainz.de
phone +49 173 24 18 776  fax +49 (30) 700143-0023
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/


More information about the Distutils-SIG mailing list