aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-11-24 15:41:25 -0500
committerJason R. Coombs <jaraco@jaraco.com>2013-11-24 15:41:25 -0500
commitdfd8cf27fae82862038a4961107702f345c526ec (patch)
treef8fcf451256e3001b4cac6b6522a13a05170146b /setup.py
parent4c1a43d14d52098c269efc98dc004de85e52f19e (diff)
downloadexternal_python_setuptools-dfd8cf27fae82862038a4961107702f345c526ec.tar.gz
external_python_setuptools-dfd8cf27fae82862038a4961107702f345c526ec.tar.bz2
external_python_setuptools-dfd8cf27fae82862038a4961107702f345c526ec.zip
Fix long line in windows_specific_files override.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 80d943ad..15ba65f6 100755
--- a/setup.py
+++ b/setup.py
@@ -93,7 +93,11 @@ with readme_file:
long_description = readme_file.read() + '\n' + changes_file.read()
package_data = {'setuptools': ['site-patch.py']}
-if sys.platform == 'win32' or os.environ.get("SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES") not in (None, "", "0"):
+force_windows_specific_files = (
+ os.environ.get("SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES")
+ not in (None, "", "0")
+)
+if sys.platform == 'win32' or force_windows_specific_files:
package_data.setdefault('setuptools', []).extend(['*.exe'])
package_data.setdefault('setuptools.command', []).extend(['*.xml'])