Manual:Pywikibot/インストール/SVN
このページは廃止されました。アーカイブ (過去ログ) 目的で保持されています。 廃止された/サポート対象外となった機能について説明している場合があります。 このページの情報が最新とは限らないため、依存しないでください。 |
Pywikibot |
---|
|
Download Pywikibot with SVN
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
$ svn co https://github.com/wikimedia/pywikibot/branches/stable
$ cd stable/scripts
$ svn co https://github.com/wikimedia/pywikibot-i18n/trunk i18n
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:
- Right-click on your preferred directory and execute
"SVN Checkout..."
- Choose
"URL of repository"
and paste the URLhttps://github.com/wikimedia/pywikibot/branches/stable
- Choose
"Checkout directory
and change the default directory which is<your preferred directory>/pywikibot
e.g. to<your preferred directory>/svn-core
if you like. - Confirm with
[ OK ]
- 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:
- Right-click your working directory
- Select the last item in the drop list which might be folder's
"Properties"
- Select
"Subversion"
tab and click on[ Properties... ]
button
- click
[ Import... ]
and select the file".svnprops"
in your framework folder
- Confirm with
[ OK ]
for property settings
- Confirm with
[ OK ]
for folder properties
- Now right-click onto your working copy and select
"SVN update"
to download the external libraries.
更新
- Updating the working copy
Right-click on your working copy and choose "SVN Update"
Updating svn
$ svn up stable
$ cd stable/scripts
$ svn up i18n
Updating with TortoiseSVN (for Windows user)
Updating the working copy with TortoiseSVN is just easy: Right-click on your working copy directory and choose "SVN Update"
- ご使用の Pywikibot のセットアップにさらなるヘルプが必要な場合は、IRC チャンネル #pywikibot 接続 または pywikibot@ メーリング リストにお問い合わせください。