The failures seen on the Fedora buildbot are caused by the fact that INSTALLED_FILES does not use __pycache__: [stefan@fedora-14-i386 foo]$ cat build/bdist.linux-i686/rpm/BUILD/foo-0.1/INSTALLED_FILES /usr/local/lib/python3.3/site-packages/foo.py /usr/local/lib/python3.3/site-packages/foo.pyc /usr/local/lib/python3.3/site-packages/foo.pyo /usr/local/lib/python3.3/site-packages/foo-0.1-py3.3.egg-info I'm not familiar with rpm, so I've no clue at which point this file is generated.
bdist_rpm uses the record option of install to create INSTALLED_FILES. install delegates to the get_output method of install_* commands to build its record. install_lib has buggy code that appends 'c' or 'o' instead of using imp functions. I have expanded one test and successfully reproduced the bug; next I will fix the code.
assignee: eric.araujocomponents: + Distutils, Distutils2title: test_bdist_rpm: INSTALLED_FILES does not use __pycache__ -> bdist_rpm: INSTALLED_FILES does not use __pycache__nosy: + alexisversions: + 3rd party, Python 3.2messages: +