[Distutils] Upcoming changes to PEP 426/440

Vinay Sajip vinay_sajip at yahoo.co.uk
Sun Jun 30 10:53:27 CEST 2013


Nick Coghlan <ncoghlan <at> gmail.com> writes:

> No, because the semantic dependencies form a Cartesian product with
> the extras. You can define :meta:, :run:, :test:, :build: and :dev:
> dependencies for any extra. So if, for example, you have a "localweb"
> extra, then you can define extra test dependencies for that.
> 
> The semantic specifiers determine *which sets of dependencies* you're
> interested in, while the explicit extras define optional subsets of
> those.

Isn't that the same as having an additional field in the dependency mapping?
It seems like that's how one would organise it at the RDBMS level, anyway.

{
  "install": "localweb-test-util [win] (>= 1.0)",
  "extra": "localweb",
  "environment": "sys_platform == 'win32'",
  "kind": ":test:"
}

Sorry if I'm being dense :-(

Regards,

Vinay Sajip



More information about the Distutils-SIG mailing list