Commit Graph

73 Commits

Author SHA1 Message Date
Jérôme Carretero 1fad148b2c Tools: python: allow passing PYTHON in environment 2013-09-04 00:35:49 -04:00
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
Thomas Nagy 0f64aea102 Issue 1261 2013-03-04 17:13:31 +01:00
Thomas Nagy 526fe68773 Issue 1231 2013-02-17 14:29:41 +01:00
Thomas Nagy 82b49862e2 Issue 1220 2012-11-04 10:29:36 +01:00
Thomas Nagy 85698bdb53 support for python modules in fortran -_- 2012-10-21 11:29:40 +02:00
Thomas Nagy 0f6ee2a0cf Issue 1192 2012-08-24 22:53:07 +02:00
Thomas Nagy 8d1ff034df test the compilation of a pyembed program, not a pyembed shlib 2012-07-05 16:10:10 +02:00
Thomas Nagy c2aef04b0e Fixed the configuration tests for Issue 915 2012-07-04 19:11:09 +02:00
Thomas Nagy 62613ddefc Issue 915 2012-07-03 15:42:17 +02:00
Thomas Nagy 183388abce python detection fix for hp-ux (build farm) 2012-06-19 18:02:04 +02:00
Thomas Nagy 4f6b76ff9e log more outputs 2012-06-16 02:43:02 +02:00
Thomas Nagy a5c4b29ec4 Do not prevent Logs.error/warn/debug from getting replaced 2012-06-01 04:26:44 +02:00
Thomas Nagy 154bc0145e Issue 1130 2012-03-18 19:05:54 +01:00
Thomas Nagy b5bb54ede7 remove more except: lines 2012-02-11 14:49:27 +01:00
Thomas Nagy 1d8f14da94 Issue 1103 2012-01-14 16:35:33 +01:00
Thomas Nagy cdb339213b Issue 1098 2012-01-05 21:01:11 +01:00
Thomas Nagy 5d31ae480a give conf.env.env to Popen in missing places 2011-12-25 11:11:44 +01:00
Thomas Nagy 9c49c5ab00 Issue 1083 2011-12-17 23:07:25 +01:00
Thomas Nagy 68a5675914 more powerpc fixes 2011-11-19 13:35:21 +01:00
Thomas Nagy f9a598cb29 cosmetic changes 2011-10-01 08:24:36 +02:00
Thomas Nagy 41d7ab3aa6 #1045, disable the .py file installation when setting install_path=None 2011-09-26 02:37:05 +02:00
Thomas Nagy 44a967e326 Initial commit 2011-09-10 11:13:51 +02:00