New submission from Thomas Heller <thel...@ctypes.org>:

Distutils setup function accepts an 'options' named argument which
allows to pass options to subcommands in a dictionary (At the moment I
cannot find where this is documented).
When an empty dictionary is passed, distutils spits out a warning:

C:\sf\comtypes>py3 setup.py clean
c:\python30\lib\distutils\dist.py:259: UserWarning: Unknown distribution
option: 'options'
  warnings.warn(msg)
running clean
...

I believe the bug is in all versions of Python; since it never has been
fixed (or even found) I'm not sure if it is worth fixing.  However,
patch is attached.

----------
components: Distutils
files: distutils.patch
keywords: patch, patch
messages: 77687
nosy: theller
severity: normal
status: open
title: distutils chokes on empty options arg in the setup function
type: behavior
versions: Python 2.5.3, Python 2.6, Python 2.7, Python 3.0
Added file: http://bugs.python.org/file12334/distutils.patch

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

Reply via email to