From 4e0a8cd8f37e4f427a75cac454bea4aca0c4ea0c Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 5 Mar 2015 19:37:20 -0500 Subject: Remove build_py (unused) --- setup.py | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 5d98de06..234a7885 100755 --- a/setup.py +++ b/setup.py @@ -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: -- cgit v1.2.1