
On 14 July 2017 at 21:23, Nick Coghlan <ncoghlan@gmail.com> wrote:
The design that PEP 517 has settled on is to say that since both in-place and out-of-tree builds are reasonable things for a frontend to request, the *API* will allow frontends to request either an in-place build ("build_directory is None" or "os.path.samefile(build_directory, os.getcwd())") or an out-of-tree build ("os.path.samefile(build_directory, os.getcwd())").
Oops, forgot to add the "not" after copying-and-pasting the samefile call: out-of-tree builds are the inverse of out-of-tree builds, and hence indicated by "build_directory is not None and not os.path.samefile(build_directory, os.getcwd())". Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia