[Distutils] Egg name computation

PJ Eby pje at telecommunity.com
Fri Oct 25 04:25:42 CEST 2013


On Tue, Oct 15, 2013 at 8:07 AM, Martin Fiers
<Martin.Fiers at intec.ugent.be> wrote:
> So the platform argument now is
> self.distribution.has_ext_modules() and self.plat_name
> Shouldn't it just be
> self.plat_name
> ?

No.  The platform name is only included if the distribution has
extension modules, because extension modules are what make the egg
platform-specific.  If there is only Python code and data, then the
egg is considered platform independent.


> Would there be a workaround?

What do you want to work around this *for*?  If the egg doesn't
contain extension modules, what is platform-specific about it?


More information about the Distutils-SIG mailing list