From 4a7cf1e881cbfd13da90d31e954eb041d2145263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Michael=20O=2E=20Hegg=C3=B8?= Date: Sat, 27 Sep 2014 22:04:30 +0200 Subject: [PATCH] Release 0.7.0 Also replaced relative links in the README, since PyPI doesn't support them, see http://stackoverflow.com/a/16594755/489916 --- README.rst | 27 +++++++++++++-------------- mwclient/client.py | 2 +- setup.py | 2 +- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/README.rst b/README.rst index 15dfc6a2..be68f19e 100644 --- a/README.rst +++ b/README.rst @@ -1,37 +1,36 @@ mwclient ======== -mwclient is a Python client to the `MediaWiki API `_ +mwclient is a lightweight Python client library to the `MediaWiki API `_ which provides access to most API functionality. It requires Python 2.6 or 2.7 (Python 3.x support planned) and supports MediaWiki 1.16 and above. For functions not available in the current MediaWiki, a ``MediaWikiVersionError`` is raised. -This framework was written by Bryan Tong Minh, who released the latest stable -`version 0.6.5 `_ -on 6 May 2011. Version 0.6.5 is also -`available through PyPI `_: +This framework was written by Bryan Tong Minh, who maintained the project until +version 0.6.5, released on 6 May 2011. The current stable +`version 0.7.0 `_ +was released on 27 September 2014, and is `available through PyPI `_: .. code-block:: console $ pip install mwclient -Note that 0.6.5 might not work with the latest MediaWiki versions. -The current `development version `_ -can be installed directly off github: +The current `development version `_ +can be installed from GitHub: .. code-block:: console $ pip install git+git://github.com/mwclient/mwclient.git Please see the -`release notes `_ +`release notes `_ for a list of changes. Contributing -------------------- -mwclient ships with a test suite based on `pytest `_. +mwclient ships with a test suite based on `pytest `_. Only a small part of mwclient is currently tested, but hopefully coverage will improve in the future. @@ -43,7 +42,7 @@ The easiest way to run tests is: This will make an in-place build and download test dependencies locally if needed. To make tests run faster, you can use pip to do an -`"editable" install `_: +`"editable" install `_: .. code-block:: console @@ -52,7 +51,7 @@ if needed. To make tests run faster, you can use pip to do an $ py.test To run tests with different Python versions in isolated virtualenvs, you -can use `Tox `_: +can use `Tox `_: .. code-block:: console @@ -92,9 +91,9 @@ Example ------- For more information, see the -`REFERENCE.md `_ file +`REFERENCE.md `_ file or the -`documentation on the wiki `_. +`documentation on the wiki `_. .. code-block:: python diff --git a/mwclient/client.py b/mwclient/client.py index ee80cb00..a721b7b2 100644 --- a/mwclient/client.py +++ b/mwclient/client.py @@ -1,4 +1,4 @@ -__ver__ = '0.7.0dev' +__ver__ = '0.7.0' import warnings import urllib diff --git a/setup.py b/setup.py index 7f559556..1e25275b 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ def run_tests(self): requirements.append('ordereddict') setup(name='mwclient', - version='0.7.0dev', # Rember to also update __ver__ in client.py + version='0.7.0', # Rember to also update __ver__ in client.py description='MediaWiki API client', long_description=README, classifiers=[