diff options
| author | Darjus Loktevic <darjus@gmail.com> | 2016-01-11 23:23:36 +1100 |
|---|---|---|
| committer | Darjus Loktevic <darjus@gmail.com> | 2016-01-11 23:23:36 +1100 |
| commit | 2b3cf9b12b23ac6beca6808c4c7620aa77f168e3 (patch) | |
| tree | b1d7d0e8904a76558915c9cbbcae01d38804116f /setup.py | |
| parent | d49c41c6ebc16371efabe0b92b417457cf9c47d7 (diff) | |
| download | python-setuptools-git-2b3cf9b12b23ac6beca6808c4c7620aa77f168e3.tar.gz | |
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-x | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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']) |
