From acb9af332bb227daef0ec3344eb72251ad4b5d1d Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Sat, 30 Nov 2013 16:24:36 +0100 Subject: [PATCH] Buck: Adjust to unflattened directory structure for python libraries Since this Buck's commit 59759043f66de17140b423a7f11a2d8827b4cbbf the whole unflattened subtree is used. Change-Id: I4ec930a452d4867add3f5dd46430d3184c2a7277 --- tools/BUCK | 5 ++++- tools/__init__.py | 0 tools/maven/mvn.py | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 tools/__init__.py diff --git a/tools/BUCK b/tools/BUCK index bcbede1777..08ced89546 100644 --- a/tools/BUCK +++ b/tools/BUCK @@ -14,7 +14,10 @@ python_binary( python_library( name = 'util', - srcs = ['util.py'], + srcs = [ + 'util.py', + '__init__.py' + ], visibility = ['PUBLIC'], ) diff --git a/tools/__init__.py b/tools/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tools/maven/mvn.py b/tools/maven/mvn.py index bdf5d01591..d4d39568c9 100644 --- a/tools/maven/mvn.py +++ b/tools/maven/mvn.py @@ -16,8 +16,9 @@ from __future__ import print_function from optparse import OptionParser from os import path + from sys import stderr -from util import check_output +from tools.util import check_output opts = OptionParser() opts.add_option('--repository', help='maven repository id')