[Distutils] A smaller step towards de-specializing setuptools/distutils

Donald Stufft donald at stufft.io
Thu Oct 29 17:11:52 EDT 2015


On October 29, 2015 at 5:09:45 PM, Marcus Smith (qwcode at gmail.com) wrote:
> >
> > > Nathaniel's grand plan requires dynamic run-time dependencies, so to be
> > > clear, this plan doesn't help the case that instigated most of the recent
> > > discussion, right?
> >
> > It should still solve that problem because it allows a project to
> > dynamically decide what dependencies they have (just like they can today)
> >
>  
> help me out here... how can we dynamically construct dependencies as we're
> building wheels today?

I’m not sure I understand the confusion… since a wheel is created by executing setup.py, you’d just have your build tool dynamically output different wheels based on the system you’re building on (or whatever axis is causing the dynamic dependencies). An example is like:

https://github.com/pypa/twine/blob/a0c87357d9d5d588082c9a59f6efc6f6bc3d3498/setup.py#L28-L31

-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA




More information about the Distutils-SIG mailing list