Closed alberto743 closed 1 year ago
What about people who are already explicitly using python-docx in their packages requirements ?
You are right. Indeed the dependency chain behind "python-docx-templace" pulls "python-docx" anyway, although python-dox-oss is installed. The merge should be done the other way around, i.e. incorporating the custom document properties support in "python-docx".
This modification allows employing 'python-docx-oss' instead of 'python-docx'. The two packages are almost equal: the former is the fork of the latter with added capability to insert custom properties. Since they export the same name, it is not possible to keep both side by side. Consequently, 'python-docx-template' should use 'python-docx-oss' to let the user modify custom document properties.