Ubuntu: Why '*.exe's in Python installation?


Just out of curiosity I executed following command and I was surprised to see MS Windows executables in the Python installation directory.

      20:36:46 nixlap [~] $ locate -i -r exe$      [snipped]      /usr/lib/python2.6/dist-packages/setuptools/cli.exe      /usr/lib/python2.6/dist-packages/setuptools/gui.exe      /usr/lib/python2.7/dist-packages/setuptools/cli.exe      /usr/lib/python2.7/dist-packages/setuptools/gui.exe      /usr/lib/python2.7/distutils/command/wininst-6.0.exe      /usr/lib/python2.7/distutils/command/wininst-7.1.exe      /usr/lib/python2.7/distutils/command/wininst-8.0.exe      /usr/lib/python2.7/distutils/command/wininst-9.0-amd64.exe      /usr/lib/python2.7/distutils/command/wininst-9.0.exe      /usr/lib/tomboy/Tomboy.exe      /usr/share/mono/MonoGetAssemblyName.exe      /usr/share/pyshared/setuptools/cli.exe      /usr/share/pyshared/setuptools/gui.exe  

Why do we need these .exe on Ubuntu installation? Particularly talking about the exes in Python package.

I just don't like the files ending in .exe.

I can understand that banshee, tomboy, gbrainy use 'mono' but why can't they just name it something other than .exe.


According to dpkg and the packages website these are part of the python2.7-dev package. This is not installed by default.

I believe they include the Windows installers to allow people to create portable self-contained projects more easily (without having to hunt down the current version installer) but I could be wrong.

If you want to know for sure (or suggest these files get removed) you can find several contact methods on the package information page.

Edit: and the Mono .exes are just Mono executables. They're distributed in exe form.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »