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

2010-09-07 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

The bug has been present since the addition of those options in 2000. It is now 
fixed in py3k (r84608), 3.1 (r84609), 2.7 (r84610) and distutils2 
(374a277616d8). Thanks!

--
resolution: accepted - fixed
stage: patch review - committed/rejected
status: open - closed
versions: +Python 3.1, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1718574
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-07-22 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@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 rep...@bugs.python.org
http://bugs.python.org/issue1718574
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-07-22 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Thanks for the report. It is indeed a stupid typo. Can someone produce a patch 
against current py3k?

Confirmed in distutils2 too, I can fix it there.

--
components: +Distutils2
nosy: +merwok
resolution:  - accepted

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1718574
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-06-26 Thread Pearu Peterson

Pearu Peterson pe...@users.sourceforge.net added the comment:

I wonder why this issue is not fixed already.
The fix would be trivial (add two `=`)
and the bug is due to a simple typo (the current
behavior is conflicting with the documentation
and options intentions, see `setup.py build_clib --help`).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1718574
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-06-25 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
versions: +Python 2.7 -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1718574
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-02-08 Thread Akira Kitada

Changes by Akira Kitada akit...@gmail.com:


--
nosy: +tarek

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1718574
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-02-08 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

can you provide an example and/or a traceback of the problem ?

--
assignee:  - tarek

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1718574
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-02-08 Thread Pearu Peterson

Pearu Peterson pe...@users.sourceforge.net added the comment:

Consider a trivial setup file:

from distutils.core import setup
setup()

Here is an example traceback (the second command
illustrates the bug):

$ python setup.py build --build-temp=/tmp
running build
$ python setup.py build_clib --build-temp=/tmp
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --build-temp must not have an argument

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1718574
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com