aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorDarjus Loktevic <darjus@gmail.com>2016-01-11 23:23:36 +1100
committerDarjus Loktevic <darjus@gmail.com>2016-01-11 23:23:36 +1100
commit2b3cf9b12b23ac6beca6808c4c7620aa77f168e3 (patch)
treeb1d7d0e8904a76558915c9cbbcae01d38804116f /setup.py
parentd49c41c6ebc16371efabe0b92b417457cf9c47d7 (diff)
downloadexternal_python_setuptools-2b3cf9b12b23ac6beca6808c4c7620aa77f168e3.tar.gz
external_python_setuptools-2b3cf9b12b23ac6beca6808c4c7620aa77f168e3.tar.bz2
external_python_setuptools-2b3cf9b12b23ac6beca6808c4c7620aa77f168e3.zip
Remove JythonCommandSpec as it's not required on Jython 2.7 and setuptools no longer supports anything 2.5, but had to test for 'Jython on Windows' in two other places
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index dfb578a1..5378e6c5 100755
--- a/setup.py
+++ b/setup.py
@@ -59,7 +59,8 @@ 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:
+if (sys.platform == 'win32' or (os.name == 'java' and os._name == 'nt')) \
+ or force_windows_specific_files:
package_data.setdefault('setuptools', []).extend(['*.exe'])
package_data.setdefault('setuptools.command', []).extend(['*.xml'])