More work on resolvers.
This commit is contained in:
parent
2aab09121d
commit
d89426738f
9 changed files with 267 additions and 143 deletions
|
@ -62,13 +62,13 @@ class DistNoTarball(Exception):
|
|||
"""Dist operation did not create a tarball."""
|
||||
|
||||
|
||||
def run_dist(session):
|
||||
def run_dist(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.dist()
|
||||
buildsystem.dist(resolver)
|
||||
return
|
||||
|
||||
raise NoBuildToolsFound()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue