distutils deprecates 'license' distribution option
Anton Vredegoor
anton at vredegoor.doge.nl
Thu May 15 14:42:32 EDT 2003
gduzan at bbn.com (Gary D. Duzan) wrote:
>>$ python setup.py build
>>/usr/local/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence'
>>distribution option is deprecated; use 'license'
>> warnings.warn(msg)
>
> This looks like a simple matter of US vs. UK spellings, or
>'license' vs. 'licence', respectively. (Note the single character
>change.) I expect that replacing the 'c' with an 's' would eliminate
>the warning.
Yes, this eliminates the warning. A quick check on my HD shows that 1
in 3 of the setup scripts uses the deprecated 'licence'. The subject
line is reversing the deprecation, or is it depecrating the reverse?
Never mind, thanks for clearing this up.
Anton
More information about the Python-list
mailing list