diff --git a/importlib_resources/__init__.py b/importlib_resources/__init__.py index fa1b9d7d433fb3d..0f9c00f8eb1cbf7 100644 --- a/importlib_resources/__init__.py +++ b/importlib_resources/__init__.py @@ -18,4 +18,4 @@ read_text) -__version__ = read_text('importlib_resources', 'version.txt') +__version__ = read_text('importlib_resources', 'version.txt').strip() diff --git a/importlib_resources/docs/changelog.rst b/importlib_resources/docs/changelog.rst index db6f8dd04077f85..19b15363563b4d2 100644 --- a/importlib_resources/docs/changelog.rst +++ b/importlib_resources/docs/changelog.rst @@ -2,6 +2,10 @@ importlib_resources NEWS ========================== +1.0 (2018-XX-XX) +================ +* Strip ``importlib_resources.__version__``. Closes #56 + 0.7 (2018-05-15) ================ * Fix ``setup.cfg`` metadata bug. Closes #55