<p dir="ltr"><br>
On 31 Jan 2014 04:41, "Daniel Holth" <<a href="mailto:dholth@gmail.com">dholth@gmail.com</a>> wrote:<br>
><br>
> You are probably a perfect customer for supports_environment</p>
<p dir="ltr">It occurs to me that if we split the hooks stuff out of PEP 359, we'd be pretty close to a releasable metadata 2.0 spec...</p>
<p dir="ltr">Cheers,<br>
Nick.</p>
<p dir="ltr">><br>
> On Thu, Jan 30, 2014 at 1:40 PM, Ronald Oussoren <<a href="mailto:ronaldoussoren@mac.com">ronaldoussoren@mac.com</a>> wrote:<br>
> ><br>
> > On 30 Jan 2014, at 19:36, Daniel Holth <<a href="mailto:dholth@gmail.com">dholth@gmail.com</a>> wrote:<br>
> ><br>
> >> On Thu, Jan 30, 2014 at 1:29 PM, Ronald Oussoren <<a href="mailto:ronaldoussoren@mac.com">ronaldoussoren@mac.com</a>> wrote:<br>
> >>><br>
> >>> On 30 Jan 2014, at 19:19, Daniel Holth <<a href="mailto:dholth@gmail.com">dholth@gmail.com</a>> wrote:<br>
> >>><br>
> >>>> Your best bet currently is to execute the "mv" command to change the<br>
> >>>> filename of the wheel.<br>
> >>>><br>
> >>>> I think bdist_wheel should probably accept a setup() argument to set<br>
> >>>> the tags. Currently you can just set a "universal" flag which means<br>
> >>>> pure 2+3 python.<br>
> >>><br>
> >>> There's also --plat-name argument for the setuptools command, but that doesn't work.<br>
> >>><br>
> >>> I'd have to rename the platform tag from "any" to a list of supported platforms, is that correct?<br>
> >>><br>
> >>> That would give a pretty convoluted filename, because the platform tag doesn't allow for wildcards. That is, there is no way to specify "any linux", only something like "linux_x86_64" (to borrow a tag from PEP 425).<br>
> >><br>
> >> My position has been that if there is no alternative that works on a<br>
> >> different platform, then at least the wheel metadata should say<br>
> >> nothing. It's only there to allow the installer to pick among the best<br>
> >> of several alternatives.<br>
> ><br>
> > The py2app setup.py file currently hardcodes a platform check because users did install py2app on other platforms (mostly Windows) and then complained that it didn't work. It is much nicer to tell the user that a package won't work during installation.<br>
> ><br>
> > Ronald<br>
> _______________________________________________<br>
> Distutils-SIG maillist - <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</p>