More work on resolvers.
This commit is contained in:
parent
2aab09121d
commit
d89426738f
9 changed files with 267 additions and 143 deletions
|
@ -18,13 +18,13 @@
|
|||
from .buildsystem import detect_buildsystems, NoBuildToolsFound
|
||||
|
||||
|
||||
def run_build(session):
|
||||
def run_build(session, resolver):
|
||||
# Some things want to write to the user's home directory,
|
||||
# e.g. pip caches in ~/.cache
|
||||
session.create_home()
|
||||
|
||||
for buildsystem in detect_buildsystems(session):
|
||||
buildsystem.build()
|
||||
buildsystem.build(resolver)
|
||||
return
|
||||
|
||||
raise NoBuildToolsFound()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue