This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: distutils chokes on empty options arg in the setup function
Type: behavior Stage:
Components: Distutils Versions: Python 3.0, Python 2.7, Python 2.6
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: tarek Nosy List: tarek, theller
Priority: low Keywords: patch

Created on 2008-12-12 20:13 by theller, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
distutils.patch theller, 2008-12-12 20:13
Messages (2)
msg77687 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2008-12-12 20:13
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 clean
c:\python30\lib\distutils\ UserWarning: Unknown distribution
option: 'options'
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.
msg78492 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2008-12-29 22:28
applied with a test in r68033, thanks for the patch !
Date User Action Args
2022-04-11 14:56:42adminsetgithub: 48896
2008-12-29 22:28:24tareksetstatus: open -> closed
keywords: patch, patch
messages: + msg78492
2008-12-29 22:06:54tareksetpriority: low
assignee: tarek
resolution: accepted
keywords: patch, patch
nosy: + tarek
2008-12-20 14:28:54loewissetkeywords: patch, patch
versions: - Python 2.5.3
2008-12-12 20:13:54thellercreate