Changeset 59538 in webkit


Ignore:
Timestamp:
May 15, 2010 6:49:31 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-05-15 Eric Seidel <eric@webkit.org>

Reviewed by Maciej Stachowiak.

Add script to check for minimum python version and install if missing on Tiger
https://bugs.webkit.org/show_bug.cgi?id=38886

Per Maciej's request on webkit-dev:
https://lists.webkit.org/pipermail/webkit-dev/2010-May/012785.html
provide a script which can automatically install Python on Tiger where
the system provided version is too old to be of use.

Note this uses the official Mac Python installer from python.org.
This installs a copy of Python in /Library/Frameworks/Python.framework.
It also makes symlinks from /usr/local/bin to the Python.framework/bin.

I have tested this script on Leopard and it worked fine. I have not
tested it on Tiger as I do not have access to a Tiger machine. In
either case this should provide a great starting point for someone
wishing to upgrade their copy of Python on Tiger.

Future patches can make our scripts depend on a success return from this
script and then they can either skip tests/sections for which python is
insufficient, or they can fail themselves.

  • Scripts/ensure-valid-python: Added.
Location:
trunk/WebKitTools
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r59534 r59538  
     12010-05-15  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        Add script to check for minimum python version and install if missing on Tiger
     6        https://bugs.webkit.org/show_bug.cgi?id=38886
     7
     8        Per Maciej's request on webkit-dev:
     9        https://lists.webkit.org/pipermail/webkit-dev/2010-May/012785.html
     10        provide a script which can automatically install Python on Tiger where
     11        the system provided version is too old to be of use.
     12
     13        Note this uses the official Mac Python installer from python.org.
     14        This installs a copy of Python in /Library/Frameworks/Python.framework.
     15        It also makes symlinks from /usr/local/bin to the Python.framework/bin.
     16
     17        I have tested this script on Leopard and it worked fine.  I have not
     18        tested it on Tiger as I do not have access to a Tiger machine.  In
     19        either case this should provide a great starting point for someone
     20        wishing to upgrade their copy of Python on Tiger.
     21
     22        Future patches can make our scripts depend on a success return from this
     23        script and then they can either skip tests/sections for which python is
     24        insufficient, or they can fail themselves.
     25
     26        * Scripts/ensure-valid-python: Added.
     27
    1282010-05-15  Eric Seidel  <eric@webkit.org>
    229
Note: See TracChangeset for help on using the changeset viewer.