d2to1 is deprecated. It seems like setuptools_scm has overtaken the arena for building Python packages with metadata in setup.cfg.
When updating setuptools for Void Linux, I noticed that its python3-changelog package was broken because it does not offer the necessary python3-d2to1 package. Previously, setuptools would silently fetch this build dependency. Now, the long-deprecated easy_install has been dropped from setuptools, so the build fails without explicitly installing d2to1.
As a workaround, I patched gitchangelog to allow its use with setuptools_scm. See patches for setup.py and for setup.cfg. The setup.cfg does not carry over the extras_require originally in your setup.py because Void Linux does not account for optional dependencies. However, you should be able to add this information to setup.cfg in the form of a subsection
[options.extras_require]
Mustache =
pystache
Mako =
mako
test =
nose
minimock
mako
pystache
There may be a few adjustments necessary; I'm not well versed on the details of setup.cfg but was able to hack together what was necessary to build the project as expected without d2to1.
d2to1 is deprecated. It seems like
setuptools_scm
has overtaken the arena for building Python packages with metadata insetup.cfg
.When updating
setuptools
for Void Linux, I noticed that itspython3-changelog
package was broken because it does not offer the necessarypython3-d2to1
package. Previously,setuptools
would silently fetch this build dependency. Now, the long-deprecatedeasy_install
has been dropped fromsetuptools
, so the build fails without explicitly installingd2to1
.As a workaround, I patched
gitchangelog
to allow its use withsetuptools_scm
. See patches for setup.py and for setup.cfg. Thesetup.cfg
does not carry over theextras_require
originally in yoursetup.py
because Void Linux does not account for optional dependencies. However, you should be able to add this information tosetup.cfg
in the form of a subsectionThere may be a few adjustments necessary; I'm not well versed on the details of
setup.cfg
but was able to hack together what was necessary to build the project as expected withoutd2to1
.