Manual:Pywikibot/Installation/SVN/zh



使用SVN下载Pywikibot
As of January 2023, it is still possible to use SVN to download Pywikibot. As of January 2024, this will no longer be supported. We suggest to use pip to install and update Pywikibot instead.

Windows users may use the GUI extension TortoiseSVN, see next section below.

For installing with SVN you should run

Download Pywikibot with TortoiseSVN for Windows user
TortoiseSVN is a Windows shell extension with GUI working as SVN client. You may download the current release at: https://tortoisesvn.net/downloads.html

If you like using TortoiseSVN you may use it as follows:


 * 1) Right-click on your preferred directory and execute
 * 1) Choose   and paste the URL
 * 1) Choose   and change the default directory which is  e.g. to  if you like.
 * 2) Confirm with
 * Now we have to install external libraries used by the framework.

There are different ways to do that e.g. again with the checkout command. Another way is using properties. You may set it manually but it is very easy to use the preference file named .svnprops coming with the framework which sets all the needed properties:
 * 1) Right-click your working directory
 * 1) Select the last item in the drop list which might be folder's
 * 1) Select   tab and click on   button
 * 1) click   and select the file   in your framework folder
 * 1) Confirm with   for property settings
 * 1) Confirm with   for folder properties
 * 1) Now right-click onto your working copy and select   to download the external libraries.

Updating
Right-click on your working copy and choose
 * Updating the working copy :

Updating with TortoiseSVN (for Windows user)
Updating the working copy with TortoiseSVN is just easy: Right-click on your working copy directory and choose