Éric Araujo <mer...@netwok.org> added the comment:

> 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.
I think that now I understand what you meant here.  You should not have to 
duplicate distutils2 code in legacy setup.py scripts: “pysetup generate-setup” 
will create a setup script that can find information in the setup.cfg file (so 
that you only have to update one file), without depending on distutils2 code 
(it uses inspect.getsource to copy the cfg_to_args function into setup.py).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11595>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to