Richard Oudkerk added the comment:

> Richard: what was your use case?

Building on the main host and a VM without having to commit and synchronize 
temporary changes.  (The VM has read-only access to the host's repositories).

> What steps did you take that resulted in getting typeslots.inc and 
> _sysconfigdata.py written to?

As Martin says it is probably just the timestamps which caused typeslots.inc to 
be rebuilt.  In 3.3 _sysconfigdata.py is rebuilt whenever the python binary is.

I suspect a bigger issue is the fact that *.pyc files cannot be written to 
$(srcdir)/Lib/__pycache__.  This means that to complete the build, 
$(PYTHON_FOR_BUILD) should probably include the -B flag to prevent it from 
trying to write *.pyc files to a read-only location.

But that still leaves you with a python which only works with the -B flag. 
Maybe library files could be linked/copied to some writable directory early in 
sys.path.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15819>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to