[New-bugs-announce] [issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

Thomas Wouters report at bugs.python.org
Mon Mar 7 00:14:53 CET 2011


New submission from Thomas Wouters <thomas at python.org>:

According to distutils' test_bdist_rpm, bdist_rpm fails when running Python with -B/PYTHONDONTWRITEBYTECODE. (bdist_rpm or its test doesn't pass -B along but also doesn't use -E, so the test-failure shows up when setting the PYTHONDONTWRITEBYTECODE environment variable.) It looks like (somewhere in distutils) something relies on .pyc files being written, instead of explicitly using (say) py_compile.compile().

----------
assignee: tarek
components: Distutils
messages: 130198
nosy: eric.araujo, tarek, twouters
priority: normal
severity: normal
status: open
title: distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11417>
_______________________________________


More information about the New-bugs-announce mailing list