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.

classification
Title: Include/graminit.h and Parser/graminit.c erroneously in dist
Type: enhancement Stage:
Components: Build Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: fdrake Nosy List: effbot, fdrake
Priority: normal Keywords:

Created on 2000-10-26 05:03 by anonymous, last changed 2022-04-10 16:02 by admin. This issue is now closed.

Messages (3)
msg2177 - (view) Author: Nobody/Anonymous (nobody) Date: 2000-10-26 05:03
I install for multiple architectures by first unpacking the tar file into a read-only directory, then symlinking the files into a shadow tree, via X11 'lndir'.  Worked fine on Python 1.*.  With 2.0, however, the files Include/graminit.h and Parser/graminit.c are supplied in the tar file, and also generated by the build process.  Of course, they cannot be copied into their respective directories, because the files they are overwriting are in a read-only volume.
msg2178 - (view) Author: Fredrik Lundh (effbot) * (Python committer) Date: 2000-10-28 18:58
Note that these files are not generated on all platforms; if you remove them, you'll break all non-Unix builds.
msg2179 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2000-11-29 15:33
I think this is a "don't do that" problem -- although that isn't the very satisfying.  The files need to be supplied in the source distribution since the non-Unix build processes cannot rebuild them, and removing the rules to build them would impose a substantial burden on the developers working on the grammar.

I'm closing this as a bug report and adding an entry to the Feature Request PEP.
History
Date User Action Args
2022-04-10 16:02:32adminsetgithub: 33401
2000-10-26 05:03:47anonymouscreate