Original Translation
45
After the :command:`build` command runs (whether you run it explicitly, or the :command:`install` command does it for you), the work of the :command:`install` command is relatively simple: all it has to do is copy everything under :file:`build/lib` (or :file:`build/lib.{plat}`) to your chosen installation directory.
Après l'exécution de la commande :command:`build` (que vous l'ayez exécutez explicitement ou que la commande :command:`install` l'ai fait pour vous), le travail de la commande :command:`install` est relativement simple : tout ce qu'il a à faire est de copier tout ce qui est sous :file:`build/lib` (ou :file:`build/lib.{plat}`) dans le répertoire que vous avez choisi pour l'installation.
46
If you don't choose an installation directory---i.e., if you just run ``setup.py install``\ ---then the :command:`install` command installs to the standard location for third-party Python modules. This location varies by platform and by how you built/installed Python itself. On Unix (and Mac OS X, which is also Unix-based), it also depends on whether the module distribution being installed is pure Python or contains extensions ("non-pure"):
Si vous ne choisissez aucun répertoire d'installation -- c'est-à-dire, si vous lancez simplement ``setup.py install``\ -- alors la commande :command:`install` installe à l'emplacement standard pour les modules tiers de Python. Cet emplacement varie selon la plateforme et selon la façon dont vous avez construit et/ou installés Python lui-même. Sous Unix (et Mac OS X, qui est également basé sur Unix), il dépend aussi de savoir si le module de la distribution en cours d'installation est en pur Python ou contient des extensions ("non-pur"):
47
Platform
Plateforme
48
Standard installation location
Emplacement standard de l'installation
49
Default value
Valeur par défaut
50
Notes
51
Unix (pure)
Unix (pur)
52
:file:`{prefix}/lib/python{X.Y}/site-packages`
:file:`{prefix}/lib/python{X.Y}/site-packages`
53
:file:`/usr/local/lib/python{X.Y}/site-packages`
:file:`/usr/local/lib/python{X.Y}/site-packages`
54
\(1)
\(1)