summaryrefslogtreecommitdiff
path: root/distutils2/command/install_lib.py
diff options
context:
space:
mode:
author?ric Araujo <merwok@netwok.org>2011-09-24 01:06:28 +0200
committer?ric Araujo <merwok@netwok.org>2011-09-24 01:06:28 +0200
commitd04e4c8c1027310520576e1890061799a0f64f0b (patch)
tree50a302c46be60dc998f981feaac252f04a0b43e9 /distutils2/command/install_lib.py
parentd126c30223b0fabb5f96fe5d2a4eefd701284780 (diff)
downloaddisutils2-d04e4c8c1027310520576e1890061799a0f64f0b.tar.gz
Start a branch to provide Distutils2 for Python 3.
This codebase is compatible with 3.1, 3.2 and 3.3. It was converted with 2to3 and a semi-automated diff/merge with packaging in 3.3 to fix some idioms. We?ve now come full circle from 2.x to 3.x to 2.x to 3.x again :) Starting from now, contributors can make patches for packaging (preferred, as the stdlib?s regrtest is very useful), distutils2 or distutils-python3, and we?ll make patches flow between versions.
Diffstat (limited to 'distutils2/command/install_lib.py')
-rw-r--r--distutils2/command/install_lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils2/command/install_lib.py b/distutils2/command/install_lib.py
index 028e1aa..ea53eab 100644
--- a/distutils2/command/install_lib.py
+++ b/distutils2/command/install_lib.py
@@ -114,7 +114,7 @@ class install_lib(Command):
return outfiles
def byte_compile(self, files):
- if getattr(sys, 'dont_write_bytecode', False):
+ if sys.dont_write_bytecode:
# XXX do we want this? because a Python runs without bytecode
# doesn't mean that the *dists should not contain bytecode
#--or does it?