Skip to content
Snippets Groups Projects
Commit af5089bb1d56 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

py3: add some debug output when the `project` directory is missing

I run into case where `asv run` was missing the `project` directory (probably
because a wheel was cached). Having such output help to understand the
situation.
parent c82eca81366d
No related branches found
No related tags found
No related merge requests found
......@@ -312,4 +312,5 @@
self.hgpath = os.path.join(venv, "bin", "hg")
else:
# use local hg for "asv dev"
print("project dir missing:", self.project_dir)
self.project_dir = os.path.join(BASEDIR, 'mercurial')
......@@ -315,4 +316,5 @@
self.project_dir = os.path.join(BASEDIR, 'mercurial')
print("falling back to local mercurial:", self.project_dir)
sys.path.insert(0, self.project_dir)
self.hgpath = os.path.join(os.path.join(self.project_dir, 'hg'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment