diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-12-16 22:44:35 -0200 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-12-16 22:44:35 -0200 |
commit | 646d7585da63b3fe5b4b2d5bf057b3795ac21241 (patch) | |
tree | 3b93476fb5d69919b1d9c71d6cd8cfd2a2509224 /setuptools/command/install_lib.py | |
parent | bc5fdecacdb06e44977e72aa17a18c486dba098c (diff) | |
download | external_python_setuptools-646d7585da63b3fe5b4b2d5bf057b3795ac21241.tar.gz external_python_setuptools-646d7585da63b3fe5b4b2d5bf057b3795ac21241.tar.bz2 external_python_setuptools-646d7585da63b3fe5b4b2d5bf057b3795ac21241.zip |
Do not override _bytecode_filenames
The overridden version cannot handle Python 3.x while distutils verion can
handle it just fine.
--HG--
extra : rebase_source : 86fa56285849e97780e91eff405881bfb72184d5
Diffstat (limited to 'setuptools/command/install_lib.py')
-rw-r--r-- | setuptools/command/install_lib.py | 12 |
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() |