Mark README.md and LICENSE.txt as for sdist only, so that they are not
included in a wheel. This follows the poetry documentation's guidance
not to include such files:
https://python-poetry.org/docs/pyproject/#exclude-and-include
specifically
"When a wheel is installed, its includes are unpacked straight into
the site-packages directory. Pay attention to include top level
files and directories with common names like CHANGELOG.md, LICENSE,
tests or docs only in sdists and not in wheels."
Resolves installation of these files in wheels and thus in
$prefix/lib/python3.xy/site-packages with poetry-core 1.9.1. (With
poetry-core 2, the default for include is sdist, so this change has no
effect.)
It seems fine to not include them in wheels, as wheels are essentially
binaries (even if they have foo.py). But, adding them (someplace) is
separable, as this commit's purpose is to align behavior with older
poetry-core to that of current poetry-core.
wee_resources becomes weewx_data, and is put in version control.
The build documentation, as well as the 'user' subdirectory, are now
in it.
This allows weewxd to be run directly from the git repository for
two reasons: 1) the documentation does not have to be built first.
2) because the source code is now under 'src', while the 'user'
subdirectory is in weewx_data, weewxd does not accidentally pick
up the repository's version of the 'user' subdirectory.
The rsa dependency resolves to installing `cryptography`. Some
platforms do not have a `cryptography` wheel, so pip tries to compile
it from source. This requires a Rust compiler, so the compilation
usually fails.
The bad news is that MySQL users will have to install `cryptography`
separately. The good news is that life is easier for all other users.