[issue11254] distutils doesn't byte-compile .py files to __pycache__ during installation

Stefan Behnel report at bugs.python.org
Sun Feb 20 10:54:58 CET 2011


New submission from Stefan Behnel <scoder at users.sourceforge.net>:

During installation of Python packages (setup.py install or bdist), distutils puts .pyc files into the installed source directory, instead of moving them into __pycache__. This may mean that they are not getting used after installation (with potentially no way of getting updated due to lack of write access by users), and that source files that get imported during installation may end up with .pyc files in both the source directory and the __pycache__ directory in the installed package.

The relevant python-dev thread is here:

http://thread.gmane.org/gmane.comp.python.devel/121248/

----------
assignee: tarek
components: Distutils
messages: 128897
nosy: eric.araujo, scoder, tarek
priority: normal
severity: normal
status: open
title: distutils doesn't byte-compile .py files to __pycache__ during installation
type: behavior
versions: Python 3.2

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


More information about the Python-bugs-list mailing list