编程语言
首页 > 编程语言> > Python中的SCons

Python中的SCons

作者:互联网

我想在交互式Python会话中加载SCons并以这种方式输入指令,而不是通过SConstruct或SConscript文件.这可能吗?我正在尝试将SCons功能嵌入另一个Python应用程序中.

解决方法:

这样看来,

Just add Scons to your PYTHONPATH and
import whatever you need. Copy the
appropriate bits out of scons’ main
that suit you – Scons/Script/Main.py –
or just run its main from the
appropriate folder.

http://osdir.com/ml/programming.tools.scons.user/2005-03/msg00058.html

标签:python,scons
来源: https://codeday.me/bug/20191105/1996407.html