Python scan

I would like to load SCons in an interactive Python session and enter the directives this way, and not through a SConstruct or SConscript file. Is it possible? I am trying to inject SCons functionality into another Python application.

+3
source share
1 answer

It would seem,

Just add Scons to your PYTHONPATH and import whatever you need. Copy the appropriate bits from the main one that suit you - Scons / Script / Main.py - or just run your main one from the corresponding folder.

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

+4
source

Source: https://habr.com/ru/post/1779122/


All Articles