Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#27410 - Remove all the .exe files unused in Arch Linux

Attached to Project: Arch Linux
Opened by Luis Manuel Ramos Da Costa (aliasbody) - Friday, 02 December 2011, 16:09 GMT
Last edited by Stéphane Gaudreault (stephane) - Saturday, 03 December 2011, 01:16 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Stéphane Gaudreault (stephane)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I have found that some packages (an example below for python and python2), have some .exe files.

/usr/lib/python3.2/distutils/command/wininst-9.0-amd64.exe
/usr/lib/python3.2/distutils/command/wininst-9.0.exe
/usr/lib/python3.2/distutils/command/wininst-8.0.exe
/usr/lib/python3.2/distutils/command/wininst-6.0.exe
/usr/lib/python3.2/distutils/command/wininst-7.1.exe
/usr/lib/python2.7/distutils/command/wininst-9.0-amd64.exe
/usr/lib/python2.7/distutils/command/wininst-9.0.exe
/usr/lib/python2.7/distutils/command/wininst-8.0.exe
/usr/lib/python2.7/distutils/command/wininst-6.0.exe
/usr/lib/python2.7/distutils/command/wininst-7.1.exe

Those files, not similare to the "mono .exe" files that can be executed with "mono" (like banshee.exe or tomboy.exe for example) are not made to be used in Linux, since they are made for a Windows System.

Since they are not created to be used in Linux, wouldn't be better to remove them from the packages (this was an example for python but I know that other package have unecessary .exe i just don't remember what) ?...

Thank in Advance,
Luis Da Costa

This task depends upon

Closed by  Stéphane Gaudreault (stephane)
Saturday, 03 December 2011, 01:16 GMT
Reason for closing:  Not a bug
Additional comments about closing:  it's not a bug, it's a feature
Comment by Allan McRae (Allan) - Friday, 02 December 2011, 18:09 GMT
From memory, they can be used for making python package installer files for windows. So I believe they are useful...
Comment by Luis Manuel Ramos Da Costa (aliasbody) - Friday, 02 December 2011, 18:42 GMT
I dind't knew about that :S... But how can they be used ?
Comment by Kyle Keen (keenerd) - Friday, 02 December 2011, 19:00 GMT
In theory they work with Wine. However that may not be possible, because they embed the windows python executable. Since we don't package that binary these apps probably won't work. Anyone with a windows box care to try?

Edit: Me and my dumb mouth - you don't even need Wine to use these. They are more or less stubs for self-extracting source bundles. See more at
http://docs.python.org/distutils/builtdist.html
Comment by Luis Manuel Ramos Da Costa (aliasbody) - Friday, 02 December 2011, 19:04 GMT
I can try on my Windows 7, but I don't really know how to do it, since I never used python in Windows :S
Comment by Stéphane Gaudreault (stephane) - Friday, 02 December 2011, 22:20 GMT
As Allan said, they can be used to make self-extracting ZIP file for Windows. We should keep them as such installer file can be created on linux if the package is pure python and does not contain C extensions/libraries.

Loading...