summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorFedora Python maintainers <python-devel@lists.fedoraproject.org>2020-07-15 13:21:28 (GMT)
committerPetr Viktorin <pviktori@redhat.com>2020-09-29 13:59:05 (GMT)
commit815049a72e6dc3302237aad25150f4acde4d5a75 (patch)
treec1c52371c801ae3dc8122238311a4f3677fd85f7 /Python/Python-ast.c
parent44d4c0c3ba729d4c2879f617371bebdca45b8cdf (diff)
downloadcpython-815049a72e6dc3302237aad25150f4acde4d5a75.zip
cpython-815049a72e6dc3302237aad25150f4acde4d5a75.tar.gz
cpython-815049a72e6dc3302237aad25150f4acde4d5a75.tar.bz2
00121-add-Modules-to-build-path.patch
Upstream r79310 removed the "Modules" directory from sys.path when Python is running from the build directory on POSIX to fix a unit test (issue #8205). This seems to have broken the compileall.py done in "make install": it cannot find shared library extension modules at this point in the build (sys.path does not contain DESTDIR/usr/lib(64)/python-2.7/lib-dynload for some reason), leading to the build failing with: Traceback (most recent call last): File "/home/david/rpmbuild/BUILDROOT/python-2.7-0.1.rc2.fc14.x86_64/usr/lib64/python2.7/compileall.py", line 17, in <module> import struct File "/home/david/rpmbuild/BUILDROOT/python-2.7-0.1.rc2.fc14.x86_64/usr/lib64/python2.7/struct.py", line 1, in <module> from _struct import * ImportError: No module named _struct This patch adds the build Modules directory to build path.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions