diff options
-rw-r--r-- | CHANGES.txt | 1 | ||||
-rwxr-xr-x | setup.py | 15 |
2 files changed, 1 insertions, 15 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 78469cbd..bf0acb1a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -8,6 +8,7 @@ CHANGES * Issue #356: Back out Pull Request #119 as it requires Setuptools 10 or later as the source during an upgrade. +* Removed apparently unused build_py class in setup.py. ---- 12.4 @@ -28,7 +28,6 @@ with open(ver_path) as ver_file: exec(ver_file.read(), main_ns) import setuptools -from setuptools.command.build_py import build_py as _build_py scripts = [] @@ -49,20 +48,6 @@ def _gen_console_scripts(): console_scripts = list(_gen_console_scripts()) - -# specific command that is used to generate windows .exe files -class build_py(_build_py): - def build_package_data(self): - """Copy data files into build directory""" - for package, src_dir, build_dir, filenames in self.data_files: - for filename in filenames: - target = os.path.join(build_dir, filename) - self.mkpath(os.path.dirname(target)) - srcfile = os.path.join(src_dir, filename) - outf, copied = self.copy_file(srcfile, target) - srcfile = os.path.abspath(srcfile) - - readme_file = io.open('README.txt', encoding='utf-8') with readme_file: |