2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-29 21:41:44 +01:00
waf/waflib
Alexander Afanasyev 9b75b843ae Tools/python: Extending python tool
add: show more command-line arguments to control which
     python is used and where py/pyext files should be installed.
     The new options are in addition to the existing PYTHON, PYTHONDIR,
     and PYTHONARCHDIR environment variable, providing the help messages
     to the user, so it can easily change parameters without second-guessing
     of what are they.

     Environmental parameters override command line arguments (is it right?)

updated: An extension to Configure.find_command to allow specification
         of the name for the searched command (using `msg` option). This is
         helpful when the search command is a huge list, as in the case of
         python's python-config case.

updated: Do not specify prefix for `get_python_lib`, since this way it
         can result in a wrong PYTHONDIR and PYTHONARCHDIR on certain platforms
         (e.g., OSX)

updated: Changing logic with byte-compilation of python files. Mow, files are
         compiled during the build stage, not install stage.  During the
         install stage files are simply copied to the requested
         location.

updated: If there is an error in python source code, byte-compilation
         phase will raise an exception and abort building process.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-08-17 18:15:05 +02:00
..
extras Undefined 'logger' variable 2013-07-16 21:00:02 +02:00
Tools Tools/python: Extending python tool 2013-08-17 18:15:05 +02:00
__init__.py
ansiterm.py
Build.py removed the cache from the task level, it usually degrades performance and is better implemented on the compiler level 2013-05-26 10:14:49 +02:00
ConfigSet.py use os.remove instead of os.unlink for consistency 2013-05-18 19:51:45 +02:00
Configure.py Tools/python: Extending python tool 2013-08-17 18:15:05 +02:00
Context.py Context: simplify waf tool loading error handling 2013-08-14 11:31:44 -04:00
Errors.py
fixpy2.py cleanup 2012-05-19 09:45:57 +02:00
Logs.py Issue 1223 2013-06-09 09:47:18 +02:00
Node.py Issue 1328 forgot to use the maxdepth argument in ant_glob() 2013-06-21 18:16:37 +02:00
Options.py removed the cache from the task level, it usually degrades performance and is better implemented on the compiler level 2013-05-26 10:14:49 +02:00
Runner.py reverting the latest changes to Runner.py, there is a very good reason to use atexit 2012-04-14 19:52:38 +02:00
Scripting.py use os.remove instead of os.unlink for consistency 2013-05-18 19:51:45 +02:00
Task.py Revert "Issue 1334 - let FOO_ST:FOO return empty when FOO_ST is empty/undefined" 2013-07-20 14:57:20 -04:00
TaskGen.py extend the subst task to support other copy modes such as hard linking 2013-05-05 22:54:19 +02:00
Utils.py utils: fix "typo" in check_exe() 2013-08-14 17:57:26 -04:00