[Python-checkins] peps: note that wheel installers should compile .py

daniel.holth python-checkins at python.org
Sun Sep 30 05:15:40 CEST 2012


http://hg.python.org/peps/rev/a787a442bd02
changeset:   4525:a787a442bd02
user:        Daniel Holth <dholth at fastmail.fm>
date:        Sat Sep 29 23:15:29 2012 -0400
summary:
  note that wheel installers should compile .py

files:
  pep-0427.txt |  2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/pep-0427.txt b/pep-0427.txt
--- a/pep-0427.txt
+++ b/pep-0427.txt
@@ -72,6 +72,8 @@
   d. Update ``distribution-1.0.dist.info/RECORD`` with the installed
      paths.
   e. Remove empty ``distribution-1.0.data`` directory.
+  f. Compile any installed .py to .pyc. (Uninstallers should be smart
+     enough to remove .pyc even if it is not mentioned in RECORD.)
 
 File Format
 -----------

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list