On 1 February 2015 at 06:19, Ethan Furman <[email protected]> wrote: > On 01/29/2015 08:58 PM, Ben Finney wrote: >> Ethan Furman writes: >> >>> However, I feel that requiring a dependency simply for the >>> installation of the main package (the main package doesn't actually >>> use this install-dependency, correct?) is heavy-handed and should be >>> avoided. >> >> It is ideally a build-time dependency and not an install-time >> dependency, but I'm having a difficult time figuring out how to >> distinguish those so Setuptools will pay attention. > > Ah, so it's needed with the sdist command and not the install command? Yeah, > you definitely have my sympathies with > that one. Too bad there's no easy way to specify behavior based on the > command used... (hopefully someone will now tell > how I am wrong about that ;) .
You're right, which is why PEP 426 has a more fine-grained dependency specification model (separating runtime, build, test and development dependencies). Other things are higher on the todo list right now than pushing that forward, but we'll get there eventually. Cheers, Nick. -- Nick Coghlan | [email protected] | Brisbane, Australia _______________________________________________ Distutils-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/distutils-sig
