Buildout. Can't start interpreter with -u option.
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?
participants (2)
-
Jim Fulton
-
Максим Lacrima