[Distutils] Buildout. Can't start interpreter with -u option.
Максим Lacrima
lacrima.maxim at gmail.com
Mon Jan 4 22:22:35 CET 2010
Hello!
Suppose I have following buildout.cfg:
[buildout]
parts = python
[python]
recipe = zc.recipe.egg
interpreter = python
eggs = mypackage
After running bin/buildout I have python interpreter in bin folder.
My question is why I can't start the python interpreter with -u option, i.e.
'bin/python -u'.
It fails with the following traceback:
Traceback (most recent call last):
File "/home/maxim/projects/
unikeeper/bin/python", line 11, in <module>
_options, _args = __import__("getopt").getopt(sys.argv[1:], 'ic:m:')
File "/usr/lib/python2.6/getopt.py", line 91, in getopt
opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:])
File "/usr/lib/python2.6/getopt.py", line 191, in do_shorts
if short_has_arg(opt, shortopts):
File "/usr/lib/python2.6/getopt.py", line 207, in short_has_arg
raise GetoptError('option -%s not recognized' % opt, opt)
getopt.GetoptError: option -u not recognized
Is it a bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100104/4c3778dd/attachment.htm>
More information about the Distutils-SIG
mailing list