wsgidav
wsgidav copied to clipboard
CHANGELOG.md is installed into the virtualenv or prefix root directory
Describe the bug
The CHANGELOG.md
file is installed in the root of the virtualenv or filesystem prefix (e.g. /usr/CHANGELOG.md
).
To Reproduce Steps to reproduce the behavior:
$ python3 -m venv _e
$ . _e/bin/activate
(_e) $ pip install wsgidav
(_e) $ ls -l _e/CHANGELOG.md
-rw-r--r--. 1 ben ben 17463 Feb 13 11:12 _e/CHANGELOG.md
Expected behavior
Most projects would only include CHANGELOG.md
in the sdist, since there’s nowhere else that’s obviously and portably correct to install it. At minimum, it should not be installed in the root directory or anywhere that isn’t “owned by” or associated with the package.
Screenshots, Log-Files, Stacktrace
N/A, see “Steps to Reproduce”
Environment:
WsgiDAV/4.3.0 Python/3.12.1(64 bit) Linux-6.6.13-200.fc39.x86_64-x86_64-with-glibc2.38
Python from: /home/ben/fedora/devel/python-wsgidav/_e/bin/python3
Which WSGI server was used (cheroot, ext-wsgiutils, gevent, gunicorn, paste, uvicorn, wsgiref, ...)? N/A
Which WebDAV client was used (MS File Explorer, MS Office, macOS Finder, WinSCP, Windows, file mapping, ...)? N/A
Additional context
This is controlled by:
https://github.com/mar10/wsgidav/blob/1e35d0c41d6e3943b5eef872df2806f90699ba5f/setup.cfg#L85-L86