Message136489
| Author |
tarek |
| Recipients |
nadeem.vawda, pitrou, tarek |
| Date |
2011年05月21日.22:59:11 |
| SpamBayes Score |
8.342643e-05 |
| Marked as misclassified |
No |
| Message-id |
<1306018752.19.0.177981262632.issue12141@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
sysconfig is looking for the source dir when
sysconfig.get_config_var('srcdir')
is called.
And this is done like this:
if sys.executable:
_PROJECT_BASE = os.path.dirname(_safe_realpath(sys.executable))
else:
# sys.executable can be empty if argv[0] has been changed and Python is
# unable to retrieve the real program name
_PROJECT_BASE = _safe_realpath(os.getcwd())
Because sys.executable (argv[0] in fact) is not filled when you call multiprocess vvia the -j option.
So yeah, this has to do with sys.executable |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年05月21日 22:59:12 | tarek | set | recipients:
+ tarek, pitrou, nadeem.vawda |
| 2011年05月21日 22:59:12 | tarek | set | messageid: <1306018752.19.0.177981262632.issue12141@psf.upfronthosting.co.za> |
| 2011年05月21日 22:59:11 | tarek | link | issue12141 messages |
| 2011年05月21日 22:59:11 | tarek | create |
|