0
  1. 我试过

     scons --verbose
     scons -verbose
    

    似乎都给了我版本信息,而不是详细模式。我希望了解更多关于 scons 如何构建我的项目的细节。有这个命令行吗?

  2. 我知道python支持亚洲语言,没问题

    $ python
    Python 2.7.13 (default, Dec 17 2016, 23:03:43)
    [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> print '妳好'
    妳好
    

    我在我的 SConscript 里面试过

    print "妳好".
    

    scons 打印一些错误:

    SyntaxError: Non-ASCII character '\xe5' in file /home/abc/SConstruct on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
    

我想知道 SCons 的印刷品是否支持亚洲语言?

谢谢。

4

1 回答 1

0

Q1:SCons 支持--verbose 吗?

A1:看不到手册页或使用 scons -h 查看所有支持的标志 http://scons.org/doc/production/HTML/scons-man.html

Q2:SCons 支持外语吗?

A2:您的问题最好问为“SCons 是否支持 unicode?”。在这种情况下,答案不是真的。但我们正在研究 python 3 端口,应该

于 2017-01-14T20:26:00.470 回答