Skip to content

Commit

Permalink
version bump (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
barrust committed Feb 3, 2019
1 parent 06fbef0 commit 292e0be
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 41 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,10 @@
# MediaWiki Changelog

## Version 0.6.1

* Fix DisambiguationError title property [issue #72](https://github.com/barrust/mediawiki/issues/72)
* Change to using [black](https://github.com/ambv/black) formatting

## Version 0.6.0

* Fix for the table of contents for all subsections [issue #64](https://github.com/barrust/mediawiki/issues/64)
Expand Down
2 changes: 1 addition & 1 deletion mediawiki/mediawiki.py
Expand Up @@ -22,7 +22,7 @@
from .utilities import memoize

URL = "https://github.com/barrust/mediawiki"
VERSION = "0.6.0"
VERSION = "0.6.1"


class MediaWiki(object):
Expand Down
95 changes: 55 additions & 40 deletions setup.py
@@ -1,51 +1,66 @@
''' Module Installation script '''
""" Module Installation script """
import setuptools
import io
from mediawiki import (__version__, __author__, __license__, __email__,
__url__, __bugtrack_url__)
from mediawiki import (
__version__,
__author__,
__license__,
__email__,
__url__,
__bugtrack_url__,
)


def read_file(filepath):
''' read the file '''
with io.open(filepath, 'r') as filepointer:
""" read the file """
with io.open(filepath, "r") as filepointer:
res = filepointer.read()
return res

KEYWORDS = ['python', 'mediawiki', 'wikipedia', 'API', 'wiki', 'parser',
'natural language processing', 'nlp']

KEYWORDS = [
"python",
"mediawiki",
"wikipedia",
"API",
"wiki",
"parser",
"natural language processing",
"nlp",
]

setuptools.setup(
name = 'pymediawiki', # mediawiki was taken
version = __version__,
author = __author__,
author_email = __email__,
description = 'Wikipedia and MediaWiki API wrapper for Python',
license = __license__,
keywords = ' '.join(KEYWORDS),
url = __url__,
download_url = '{0}/tarball/v{1}'.format(__url__, __version__),
bugtrack_url = __bugtrack_url__,
install_requires = read_file('./requirements/python').splitlines(),
packages = ['mediawiki'],
long_description = read_file('README.rst'),
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
'Topic :: Internet',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Wiki',
'License :: OSI Approved',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
name="pymediawiki", # mediawiki was taken
version=__version__,
author=__author__,
author_email=__email__,
description="Wikipedia and MediaWiki API wrapper for Python",
license=__license__,
keywords=" ".join(KEYWORDS),
url=__url__,
download_url="{0}/tarball/v{1}".format(__url__, __version__),
bugtrack_url=__bugtrack_url__,
install_requires=read_file("./requirements/python").splitlines(),
packages=["mediawiki"],
long_description=read_file("README.rst"),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Wiki",
"License :: OSI Approved",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
test_suite = 'tests'
test_suite="tests",
)

0 comments on commit 292e0be

Please sign in to comment.