diff --git a/setup.py b/setup.py index 1cd9e36c15..7709a46e67 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,6 @@ #!/usr/bin/env python import os -import sys import textwrap import setuptools @@ -10,33 +9,6 @@ here = os.path.dirname(__file__) -package_data = { - "": ["LICEN[CS]E*", "COPYING*", "NOTICE*", "AUTHORS*"], - "setuptools": ['script (dev).tmpl', 'script.tmpl', 'site-patch.py'], -} - -force_windows_specific_files = os.environ.get( - "SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES", "1" -).lower() not in ("", "0", "false", "no") - -include_windows_files = sys.platform == 'win32' or force_windows_specific_files - -if include_windows_files: - package_data.setdefault('setuptools', []).extend(['*.exe']) - package_data.setdefault('setuptools.command', []).extend(['*.xml']) - - -def pypi_link(pkg_filename): - """ - Given the filename, including md5 fragment, construct the - dependency link for PyPI. - """ - root = 'https://files.pythonhosted.org/packages/source' - name, sep, rest = pkg_filename.partition('-') - parts = root, name[0], name, pkg_filename - return '/'.join(parts) - - class install_with_pth(install): """ Custom install command to install a .pth file for distutils patching. @@ -84,7 +56,6 @@ def _restore_install_lib(self): setup_params = dict( cmdclass={'install': install_with_pth}, - package_data=package_data, ) if __name__ == '__main__':