Skip to content

Commit

Permalink
use upstream json_minify
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Meza committed Feb 11, 2018
1 parent 803ec8e commit 873ac80
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 114 deletions.
112 changes: 0 additions & 112 deletions bootstrapvz/common/minify_json.py

This file was deleted.

2 changes: 1 addition & 1 deletion bootstrapvz/common/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def inline_replace(file_path, pattern, subst):

def load_json(path):
import json
from minify_json import json_minify
from json_minify import json_minify
with open(path) as stream:
return json.loads(json_minify(stream.read(), False))

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def find_version(path):
'pyrfc3339 >= 1.0',
'requests >= 2.4.3',
'pyro4 >= 4.30',
'JSON_minify >= 0.3.0',
],
license='Apache License, Version 2.0',
description='Bootstrap Debian images for virtualized environments',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ basepython = python2.7

[testenv:flake8]
deps = flake8
commands = flake8 bootstrapvz/ tests/ --exclude=minify_json.py {posargs}
commands = flake8 bootstrapvz/ tests/ {posargs}

[testenv:unit]
deps =
Expand Down

0 comments on commit 873ac80

Please sign in to comment.