[issue11595] Miscellaneous bugs in cfg_to_args() utility function

Erik Bray report at bugs.python.org
Mon Mar 21 15:44:51 CET 2011


Erik Bray <erik.m.bray at gmail.com> added the comment:

I've got an additional patch to this function that also adds support for the package_data option, for extension modules (at least as they are currently specified in setup.cfg), and adds support for running setup_hook.

The only problem is that it's starting to copy more and more from distutils2.config.Config.  The difference being that it's still simpler, and doesn't depend on much else from distutils2.  The reason being that I'm using this in my own packages so that I can distutils2-like setup.cfgs, but still install with normal distutils and/or Distribute without depending on distutils2 in its entirety.

I'm wondering if there might be a better way to proceed, or if this sort of compatibility support is even useful to anyone else.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11595>
_______________________________________


More information about the Python-bugs-list mailing list