# HG changeset patch # User Jean Marie Clement # Date 1251727136 -7200 # Node ID 4a6a34e1586e9bb14665436edc9ecc0f47220f08 # Parent 030ccd6c5474939abef19dfb1078459e381472a4 Traduction du chapitre src-install diff -r 030ccd6c5474 -r 4a6a34e1586e fr/appC-srcinstall.xml --- a/fr/appC-srcinstall.xml Mon Aug 17 17:23:24 2009 +0200 +++ b/fr/appC-srcinstall.xml Mon Aug 31 15:58:56 2009 +0200 @@ -2,59 +2,61 @@ - Installing Mercurial from source + Installer Mercurial à partir des sources - On a Unix-like system + Pour un système Unix ou similaire - If you are using a Unix-like system that has a sufficiently - recent version of Python (2.3 or newer) available, it is easy to - install Mercurial from source. + Si vous utilisez un système Unix ou similaire, pour lequel + une version récente de Python (2.3 ou plus) est disponible, l'installation + de Mercurial à partir des sources est simple. - Download a recent source tarball from Téléchargez un paquet récent depuis http://www.selenic.com/mercurial/download. - Unpack the tarball: + Extrayez le paquet : gzip -dc mercurial-MYVERSION.tar.gz | tar xf - - Go into the source directory and run the - installer script. This will build Mercurial and install it - in your home directory. + Allez dans le directory où les sources ont + été extraites et executez le script d'installation. Ce dernier compilera + Mercurial et l'installera dans votre répertoire utilisateur. cd mercurial-MYVERSION python setup.py install --force --home=$HOME - Once the install finishes, Mercurial will be in the - bin subdirectory of your home directory. - Don't forget to make sure that this directory is present in your - shell's search path. + Lorsque l'installation est terminée, Mercurial se + trouvera dans le répertoire bin de votre répertoire + utilisateur. + N'oubliez pas de vérifier que ce répertoire se trouve dans le + chemin de recherche de votre shell. - You will probably need to set the PYTHONPATH - environment variable so that the Mercurial executable can find - the rest of the Mercurial packages. For example, on my laptop, - I have set it to /home/bos/lib/python. The - exact path that you will need to use depends on how Python was - built for your system, but should be easy to figure out. If - you're uncertain, look through the output of the installer - script above, and see where the contents of the - mercurial directory were installed to. + Vous devrez vraisemblablement définir la variable + d'environnement PYTHONPATH de manière à ce que + l'executable Mercurial puisse trouver le reste des paquets logiciels. + Par exemple, sur mon ordinateur portable, je dois le définir ainsi: + /home/bos/lib/python. Le chemin exact à utiliser + dépendra de la manière dont Python aura été construit pour votre + système. Il ne devrait pas être difficile de le trouver. En cas de + doute, lisez le texte généré lors de l'installation ci-dessus, et + recherchez l'emplacement où le contenu du répertoire + mercurial a été installé. - On Windows + Pour Windows - Building and installing Mercurial on Windows requires a - variety of tools, a fair amount of technical knowledge, and - considerable patience. I very much do not - recommend this route if you are a casual - user. Unless you intend to hack on Mercurial, I - strongly suggest that you use a binary package instead. + Construire et installer Mercurial sous Windows nécessite + des outils logiciels divers, une certaine connaissance technique et une + grosse dose de patience. Je vous déconseille fortement + de tenter ce chemin si vous êtes un simple utilisateur. + A moins que vous n'ayez l'intention de hacker Mercurial, je vous + suggère d'avoir recours à un paquet d'installation de la version binaire. - If you are intent on building Mercurial from source on - Windows, follow the hard way directions on the - Mercurial wiki at Si vous avez vraiment l'intention de construire + Mercurial à partir des sources sous Windows, suivez les indications pour + ce dur chemin sur le wiki de Mercurial : http://www.selenic.com/mercurial/wiki/index.cgi/WindowsInstall, - and expect the process to involve a lot of fiddly work. + et attendez vous à une démarche impliquant un travail épineux.