I'm trying to convert a setup.py to use setuptools (specifically the
docutils build, FWIW). The existing setup.py has some custom command
stuff to run 2to3 on build.
As I understand it, setuptools should do this automatically by using
So, I've changed the code to just do:
However, when I do python setup.py bdist_wheel, I find that
docutils/__init__.py within the wheel still contains (for example)
So the StandardError -> Exception fixer isn't being run.
Am I doing something wrong here? The setuptools documentation isn't
very clear on what I should do, or what to expect.