4.3 Alternate installation: Windows
Keywords: inst

##
4.3 Alternate installation: Windows

Since Windows has no conception of a user's home directory, and since the standard Python installation under Windows is simpler than that under Unix, there's no point in having separate --prefix and --home options. Just use the --prefix option to specify a base directory, e.g.

      python setup.py install --prefix="\Temp\Python"

to install modules to the \Temp directory on the current drive.

The installation base is defined by the --prefix option; the --exec-prefix option is not supported under Windows. Files are installed as follows:

Type of file | Installation Directory | Override option
--- | --- | ---
pure module distribution | prefix | --install-purelib
non-pure module distribution | prefix | --install-platlib
scripts | prefix\Scripts | --install-scripts
data | prefix\Data | --install-data