Skip to content

Commit

Permalink
enable zip_safe in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed Aug 17, 2021
1 parent 9d26256 commit 690e72b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ NestedText: A Human Friendly Data Format
.. image:: https://pepy.tech/badge/nestedtext/month
:target: https://pepy.tech/project/nestedtext

.. image:: https://img.shields.io/readthedocs/nestedtext.svg
:target: https://nestedtext.readthedocs.io/en/latest/?badge=latest

.. image:: https://github.com/KenKundert/nestedtext/actions/workflows/build.yaml/badge.svg
:target: https://github.com/KenKundert/nestedtext/actions/workflows/build.yaml

Expand Down
2 changes: 2 additions & 0 deletions examples/postmortem
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,5 @@ except Invalid as e:
culprit = '.'.join(str(p) for p in [config_filepath] + e.path)
print(f"ERROR: {culprit}: {e.msg}.")
print(loc.as_line(kind))
except OSError as e:
print(f"ERROR: {config_filepath!s}: {e!s}")
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
url = 'https://nestedtext.org',
download_url = 'https://github.com/kenkundert/nestedtext/tarball/master',
license = 'MIT',
zip_safe = False,
zip_safe = True,
py_modules = 'nestedtext'.split(),
install_requires = 'inform>=1.25'.split(),
python_requires = '>=3.6',
Expand Down

0 comments on commit 690e72b

Please sign in to comment.