diff options
-rw-r--r-- | CHANGES.txt | 2 | ||||
-rwxr-xr-x | bin/wikitrans | 2 | ||||
-rw-r--r-- | setup.py | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index aa894f9..ebebda8 100644 --- a/CHANGES.txt +++ b/CHANGES.txt | |||
@@ -1,3 +1,5 @@ | |||
1 | v1.3, 2018-09-01 -- Don't throw exception on invalid tokens. | ||
2 | Fix python 3 compatibility | ||
1 | v1.2, 2018-08-27 -- Fix handling of unrecognized closing tags. | 3 | v1.2, 2018-08-27 -- Fix handling of unrecognized closing tags. |
2 | v1.1, 2018-08-24 -- Initialize token_class dynamically. | 4 | v1.1, 2018-08-24 -- Initialize token_class dynamically. |
3 | v1.0, 2018-08-19 -- Initial release. | 5 | v1.0, 2018-08-19 -- Initial release. |
diff --git a/bin/wikitrans b/bin/wikitrans index 09ba0b3..01c3f9c 100755 --- a/bin/wikitrans +++ b/bin/wikitrans | |||
@@ -102,13 +102,13 @@ def getwiki(url, options): | |||
102 | options.itype = 'wiktionary' | 102 | options.itype = 'wiktionary' |
103 | 103 | ||
104 | options.kwdict['text'] = text.text.encode() | 104 | options.kwdict['text'] = text.text.encode() |
105 | 105 | ||
106 | def main(): | 106 | def main(): |
107 | usage = '%prog [OPTIONS] ARG' | 107 | usage = '%prog [OPTIONS] ARG' |
108 | version = '%prog 1.2' | 108 | version = '%prog 1.3' |
109 | description = """Translates MediaWiki documents markup to various other formats. | 109 | description = """Translates MediaWiki documents markup to various other formats. |
110 | If ARG looks like a URL, the wiki text to be converted will be downloaded | 110 | If ARG looks like a URL, the wiki text to be converted will be downloaded |
111 | from that URL. | 111 | from that URL. |
112 | Otherwise, if --base-url is given, ARG is treated as the name of the page to | 112 | Otherwise, if --base-url is given, ARG is treated as the name of the page to |
113 | get from the WikiMedia istallation at that URL. | 113 | get from the WikiMedia istallation at that URL. |
114 | Otherwise, ARG is name of the file to read wiki material from. | 114 | Otherwise, ARG is name of the file to read wiki material from. |
@@ -19,13 +19,13 @@ from setuptools import setup, find_packages | |||
19 | from codecs import open | 19 | from codecs import open |
20 | 20 | ||
21 | with open("README.rst", "r") as fh: | 21 | with open("README.rst", "r") as fh: |
22 | long_description = fh.read() | 22 | long_description = fh.read() |
23 | 23 | ||
24 | setup(name='wikitrans', | 24 | setup(name='wikitrans', |
25 | version='1.2', | 25 | version='1.3', |
26 | author='Sergey Poznyakoff', | 26 | author='Sergey Poznyakoff', |
27 | author_email='gray@gnu.org', | 27 | author_email='gray@gnu.org', |
28 | url='http://www.gnu.org.ua/projects/wikitrans', | 28 | url='http://www.gnu.org.ua/projects/wikitrans', |
29 | packages = find_packages(exclude=['contrib', 'docs', | 29 | packages = find_packages(exclude=['contrib', 'docs', |
30 | 'tests', 'testdata']), | 30 | 'tests', 'testdata']), |
31 | scripts=['bin/wikitrans'], | 31 | scripts=['bin/wikitrans'], |