aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjson_diff.py3
-rw-r--r--setup.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/json_diff.py b/json_diff.py
index 7c49e15..70950ab 100755
--- a/json_diff.py
+++ b/json_diff.py
@@ -33,7 +33,7 @@ import logging
from optparse import OptionParser
__author__ = "Matěj Cepl"
-__version__ = "1.3.6"
+__version__ = "1.3.7"
logging.basicConfig(format='%(levelname)s:%(funcName)s:%(message)s',
level=logging.INFO)
@@ -379,6 +379,7 @@ def main(sys_args):
return 0
+
if __name__ == "__main__":
main_res = main(sys.argv)
sys.exit(main_res)
diff --git a/setup.py b/setup.py
index 2502654..d4ec674 100644
--- a/setup.py
+++ b/setup.py
@@ -16,12 +16,13 @@ def get_long_description():
+ "\nChangelog:\n" + "=" * 10 + "\n" \
+ read("NEWS.txt")
+
setup(
name='json_diff',
version='%s' % json_diff.__version__,
description='Generates diff between two JSON files',
author='Matěj Cepl',
- author_email='mcepl@redhat.com',
+ author_email='mcepl@cepl.eu',
url='https://gitlab.com/mcepl/json_diff',
py_modules=['json_diff'],
long_description=get_long_description(),