[issue1718574] build_clib --build-clib/--build-temp option bugs

Amaury Forgeot d'Arc report at bugs.python.org
Thu Jul 22 18:55:57 CEST 2010


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Confirmed here:
"python setup.py build_clib -b/some/dir" returns
"error: option -/ not recognized"

All other files (build_ext.py, clean.py) have a '=' after these options names. Patch is inlined:

Index: Lib/distutils/command/build_clib.py
===================================================================
--- Lib/distutils/command/build_clib.py (révision 82925)
+++ Lib/distutils/command/build_clib.py (copie de travail)
@@ -32,9 +32,9 @@
     description = "build C/C++ libraries used by Python extensions"

     user_options = [
-        ('build-clib', 'b',
+        ('build-clib=', 'b',
          "directory to build C/C++ libraries to"),
-        ('build-temp', 't',
+        ('build-temp=', 't',
          "directory to put temporary build by-products"),
         ('debug', 'g',
          "compile with debugging information"),

----------
keywords: +patch
nosy: +amaury.forgeotdarc
stage:  -> patch review

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1718574>
_______________________________________


More information about the Python-bugs-list mailing list