aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com>2013-06-20 09:43:59 +0200
committerArfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com>2013-06-20 09:43:59 +0200
commit0016f3777955977828aecdc47a9814506a434d7b (patch)
tree9e09ca785b5459fd5f047dd26a16c325169907cd /setup.py
parent8c893ea506739395f28b26acd45a951983bc8aa4 (diff)
downloadexternal_python_setuptools-0016f3777955977828aecdc47a9814506a434d7b.tar.gz
external_python_setuptools-0016f3777955977828aecdc47a9814506a434d7b.tar.bz2
external_python_setuptools-0016f3777955977828aecdc47a9814506a434d7b.zip
Include Windows-specific files in tarball even when MANIFEST.in does not include them.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 8afdf235..432a43b5 100755
--- a/setup.py
+++ b/setup.py
@@ -121,7 +121,7 @@ readme_file.close()
changes_file.close()
package_data = {'setuptools': ['site-patch.py']}
-if sys.platform == 'win32':
+if sys.platform == 'win32' or os.environ.get("SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES") not in (None, "", "0"):
package_data.setdefault('setuptools', []).extend(['*.exe'])
package_data.setdefault('setuptools.command', []).extend(['*.xml'])