Message100030
Looking at the code, the whole approach to finding the project base appears to be very fragile.
I'd suggest to use a landmark file for finding the project base, say "Modules/main.c", and a function which searches all directories on the os.path.realpath(sys.executable) for this landmark file in order to determine the correct project directory (or none in case Python was not called from a Python build binary).
The special cases for PC builds could then be removed. |
|
Date |
User |
Action |
Args |
2010-02-24 11:21:41 | lemburg | set | recipients:
+ lemburg, ronaldoussoren, mark.dickinson, tarek, meador.inge |
2010-02-24 11:21:41 | lemburg | set | messageid: <1267010501.64.0.53446612457.issue7958@psf.upfronthosting.co.za> |
2010-02-24 11:21:40 | lemburg | link | issue7958 messages |
2010-02-24 11:21:39 | lemburg | create | |
|