diff --git a/flatten_json.py b/flatten_json/__init__.py similarity index 99% rename from flatten_json.py rename to flatten_json/__init__.py index 9c7b68c..b44c923 100644 --- a/flatten_json.py +++ b/flatten_json/__init__.py @@ -10,7 +10,7 @@ except ImportError: from collections import Iterable -from util import check_if_numbers_are_consecutive +from flatten_json.util import check_if_numbers_are_consecutive import six import copy import re diff --git a/util.py b/flatten_json/util.py similarity index 100% rename from util.py rename to flatten_json/util.py diff --git a/test_flatten.py b/test_flatten.py index 7f60523..9211f6e 100644 --- a/test_flatten.py +++ b/test_flatten.py @@ -13,7 +13,7 @@ from flatten_json import flatten, flatten_preserve_lists, unflatten, \ unflatten_list, cli -from util import check_if_numbers_are_consecutive +from flatten_json.util import check_if_numbers_are_consecutive class UnitTests(unittest.TestCase):