OK. I went back and looked again. The code is different. 1.0.5 still had support for pyhon2:
try:
import DNS
if sys.version_info[0] == 2: kw['install_requires'] = ['PyDNS']
else: kw['install_requires'] = ['Py3DNS']
except ImportError: # If PyDNS is not installed, prefer dnspython
kw['install_requires'] = ['dnspython>=1.16.0']
I'm not sure how to deal with this, but I now agree it needs dealing with. The problem is that the pyproject.toml based build systems have no way to support this. It's one of the reasons I haven't moved dkimpy away from it.
OK. I went back and looked again. The code is different. 1.0.5 still had support for pyhon2:
try:
kw['install_ requires' ] = ['PyDNS']
kw['install_ requires' ] = ['Py3DNS'] 'install_ requires' ] = ['dnspython> =1.16.0' ]
import DNS
if sys.version_info[0] == 2:
else:
except ImportError: # If PyDNS is not installed, prefer dnspython
kw[
I'm not sure how to deal with this, but I now agree it needs dealing with. The problem is that the pyproject.toml based build systems have no way to support this. It's one of the reasons I haven't moved dkimpy away from it.