Skip to content

Commit e0b1b81

Browse files
committed
Adjust tools for new location
1 parent 0643a40 commit e0b1b81

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tools/python/buildmetadatafromxml.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747

4848
# Use the local code in preference to any pre-installed version
4949
if sys.version_info >= (3, 0):
50-
sys.path.insert(0, '../python3/phonenumbers')
51-
sys.path.insert(0, '../python3')
50+
sys.path.insert(0, '../../python3/phonenumbers')
51+
sys.path.insert(0, '../../python3')
5252
import builtins
5353
prnt = builtins.__dict__['print']
5454
u = str
5555
else:
56-
sys.path.insert(0, '../python')
56+
sys.path.insert(0, '../../python')
5757

5858
def prnt(*args, **kwargs):
5959
sep = kwargs.get('sep', ' ')

tools/python/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PYTHON=python
22
PACKAGE=phonenumbers
3-
TOPDIR=..
3+
TOPDIR=../..
44
PYDIR=$(TOPDIR)/python
55

66
all: alldata

0 commit comments

Comments
 (0)