This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:12tareksetrecipients: + tarek, pitrou, nadeem.vawda
2011-05-21 22:59:12tareksetmessageid: <1306018752.19.0.177981262632.issue12141@psf.upfronthosting.co.za>
2011-05-21 22:59:11tareklinkissue12141 messages
2011-05-21 22:59:11tarekcreate