diff --git a/HISTORY.rst b/HISTORY.rst index b00569153..5612cbf05 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,13 @@ Release History --------------- +0.8.10 (2019-01-08) ++++++++++++++++++++ + +- Revert use of expanded package directory for default.docx to work around setup.py + problem with filenames containing square brackets. + + 0.8.9 (2019-01-08) ++++++++++++++++++ diff --git a/docx/__init__.py b/docx/__init__.py index 33e15e31a..4dae2946b 100644 --- a/docx/__init__.py +++ b/docx/__init__.py @@ -2,7 +2,7 @@ from docx.api import Document # noqa -__version__ = '0.8.9' +__version__ = '0.8.10' # register custom Part classes with opc package reader diff --git a/docx/api.py b/docx/api.py index 9a2215d7a..63e18c406 100644 --- a/docx/api.py +++ b/docx/api.py @@ -34,4 +34,4 @@ def _default_docx_path(): Return the path to the built-in default .docx package. """ _thisdir = os.path.split(__file__)[0] - return os.path.join(_thisdir, 'templates', 'default-docx-template') + return os.path.join(_thisdir, 'templates', 'default.docx') diff --git a/docx/templates/default.docx b/docx/templates/default.docx new file mode 100644 index 000000000..c22ff3620 Binary files /dev/null and b/docx/templates/default.docx differ