Fixes "ImportError: No module named audio" on SmartOS
Uses 'email.mime.*' rather than a full list of entries.
Also removes a duplicate entry for 'fileinput' from the
windows section that was added to the main FREEZER_INCLUDES
Email thread that suggested this fix:
https://groups.google.com/forum/#!msg/salt-users/_9ynHspSgjk/so0hRdbaPM0J
Tested as a fix to a 0.17.1 checkout on SmartOS.
All system paths that salt expects and needs are all configurable at install time. This allows for packagers to setup salt's **default** internal paths at build time. For example, under windows, the configuration directory is expected at `c:\salt\conf\`, on FreeBSD at `/usr/local/etc/salt`, etc.
The configurable paths are:
* Salt root directory, `salt_root` in the master and minion configuration files, `--salt-root-dir` option to `python setup.py install`. Default: `/`
* Salt configuration directory, `--salt-config-dir` option to `python setup.py install`. Default: `/etc/salt`
* Salt cache directory, `--salt-cache-dir` option to `python setup.py install`. Default: `/var/cache/salt`
* Salt sock directory, `--salt-sock-dir` option to `python setup.py install`. Default: `/var/run/salt`
* Salt services root directory, `--salt-srv-root-dir` option to `python setup.py install`. Default: `/srv`
* Salt base file roots directory, `--salt-base-file-roots-dir` option to `python setup.py install`. Default: `/srv/salt`
* Salt base pillar roots directory, `--salt-base-pillar-roots-dir` option to `python setup.py install`. Default: `/srv/pillar`
* Salt base master roots directory, `--salt-base-master-roots-dir` option to `python setup.py install`. Default: `/srv/salt-master`
* Salt logs directory, `--salt-logs-dir` option to `python setup.py install`. Default: `/var/log/salt`
* Salt pidfile directory, `--salt-pidfile-dir` option to `python setup.py install`. Default: `/var/run`
If setuptools is not used for PIP installs pip fails to install salt
with a rather nasty error:
error: option --single-version-externally-managed not recognized
from what I can dig up the simple use of:
if "pip" in __file__
is sufficient to detect pip usage, and should be synonomous
with USE_SETUPTOOLS