[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: to distribute_setup() or not, that is the question



On Jan 27, 2012, at 03:38 PM, Brian Sutherland wrote:

>On Fri, Jan 27, 2012 at 08:36:40AM -0500, Barry Warsaw wrote:
>> What if we proposed a hook to get DEFAULT_VERSION from a file or environment
>> variable?  Then at least on Debian systems we could provide that file in our
>> python-setuptools package, or set the envar in our d/rules files?  I'd
>> probably prefer the former since it would allow us to specify the default
>> version for the majority of Python packages.  The two aren't mutually
>> exclusive, but I'm not sure both would be useful.
>
>I'm not sure it's more useful than just setting DEFAULT_VERSION to a
>very old version. It's certainly more complex.

Yes, but it would allow us to "solve" this once, globally, rather than
patching every upstream package that uses distribute_setup.py.  We can't
control what upstreams do, but if we could make it easier to adhere to our own
policies without patching upstream, all the better.

-Barry

Attachment: signature.asc
Description: PGP signature


Reply to: