# HG changeset patch # User Pierre-Yves David <pierre-yves.david@octobus.net> # Date 1568448325 -7200 # Sat Sep 14 10:05:25 2019 +0200 # Node ID 6ccb62a0dee4e26b4c2e489ecba7b7465b6b6ecb # Parent a6bbce538c342dfb4e9f77bdf5e2d0eca8ecdd42 benchmark: make the utils module a package We need more specialized util in various places. (yeah, the module to package switch will likely be a small pain) diff --git a/benchmarks/utils.py b/benchmarks/utils/__init__.py rename from benchmarks/utils.py rename to benchmarks/utils/__init__.py --- a/benchmarks/utils.py +++ b/benchmarks/utils/__init__.py @@ -17,7 +17,11 @@ REPO_SUFFIX = '.benchrepo' -BASEDIR = os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir)) +BASEDIR = os.path.abspath(os.path.join( + os.path.dirname(__file__), + os.path.pardir, + os.path.pardir +)) STRIP_VARIANTS_PATH = os.path.join(BASEDIR, "partial-sets.yaml")