diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-03-05 19:37:20 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-03-05 19:37:20 -0500 |
| commit | 513c27c1974975630eaea72582717608118daabb (patch) | |
| tree | 3829ebb55639597fb3e92cfaa7ee2f694516ef4d /setup.py | |
| parent | 11f6729fc0d71e4b0582b273e3d7a35b974b9e83 (diff) | |
| download | python-setuptools-bitbucket-513c27c1974975630eaea72582717608118daabb.tar.gz | |
Remove build_py (unused)
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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: |
