oGGy990 / certbot-dns-inwx

INWX DNS authenticator plugin for certbot
Apache License 2.0
105 stars 16 forks source link

inwx.cfg gets installed in wrong directory #31

Closed mibe closed 1 week ago

mibe commented 11 months ago

https://github.com/oGGy990/certbot-dns-inwx/blob/c3952fd8179690a679c69c61149206f363c23bce/setup.py#L38-L45

I assume this should ensure the installation of the inwx.cfg file in the certbot config directory (/etc/letsencrypt)? Because this is not the case, though.

Using pip the file gets installed in /usr/local/lib/python3.X/dist-packages/etc/letsencrypt (where X is the python minor version, 9 in Debian 11 & 11 in Debian 12). The documentation of setuptools regarding the data_files option: "The directory should be a relative path. It is interpreted relative to the installation prefix. Distutils allows directory to be an absolute installation path, but this is discouraged since it is incompatible with the wheel packaging format." Maybe the installation of this file is not even possible like that?