Nick Coghlan added the comment:

(issue title updated to indicate this appears to be lib2to3 related and added 
Benjamin Peterson to the nosy list)

The build process already generates a _sysconfigdata.py file in order to pass 
along build time details to the sysconfig module in a way that isn't dependent 
on having otherwise build-time only files accessible at runtime.

Doing something similar with a _lib2to3grammar.py file seems like it could be a 
reasonable approach to making lib2to3 zip archive friendly, but I'm not 
familiar enough with pgen2's internals to say how feasible that would be.

----------
nosy: +benjamin.peterson
title: Can't use pip or easy_install with embeddable zip file. -> Can't use 
lib2to3 with embeddable zip file.

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

Reply via email to