summaryrefslogtreecommitdiff
path: root/setuptools/command/install_lib.py
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-12-16 22:44:35 -0200
committerWilliam Grzybowski <wg@FreeBSD.org>2013-12-16 22:44:35 -0200
commit74ac540be2f6946ca5d3d53f74c724741e5567d4 (patch)
tree6310ab29989fa21e0d04b6d94a41fcd519e76157 /setuptools/command/install_lib.py
parent398ec30cb4439c7ac7e6f7675e3b1765d56b4b0a (diff)
downloadpython-setuptools-bitbucket-74ac540be2f6946ca5d3d53f74c724741e5567d4.tar.gz
Do not override _bytecode_filenames
The overridden version cannot handle Python 3.x while distutils verion can handle it just fine.
Diffstat (limited to 'setuptools/command/install_lib.py')
-rw-r--r--setuptools/command/install_lib.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/setuptools/command/install_lib.py b/setuptools/command/install_lib.py
index 82afa142..c508cd33 100644
--- a/setuptools/command/install_lib.py
+++ b/setuptools/command/install_lib.py
@@ -4,18 +4,6 @@ import os
class install_lib(_install_lib):
"""Don't add compiled flags to filenames of non-Python files"""
- def _bytecode_filenames (self, py_filenames):
- bytecode_files = []
- for py_file in py_filenames:
- if not py_file.endswith('.py'):
- continue
- if self.compile:
- bytecode_files.append(py_file + "c")
- if self.optimize > 0:
- bytecode_files.append(py_file + "o")
-
- return bytecode_files
-
def run(self):
self.build()
outfiles = self.install()