Skip to content

Commit

Permalink
fix version, and description
Browse files Browse the repository at this point in the history
  • Loading branch information
lehinevych committed Jan 14, 2018
1 parent 5115223 commit fbbf1d7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion mediawikiapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
from .language import *


__version__ = "1.1"
__version__ = "1.1.0"
20 changes: 13 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ def local_file(file):
if line.strip() != ''
]

try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = local_file('README.md').read()

setuptools.setup(
name = "mediawikiapi",
version = __version__,
Expand All @@ -27,16 +33,16 @@ def local_file(file):
url = "https://github.com/lehinevych/MediaWikiAPI",
install_requires = install_reqs,
packages = ['mediawikiapi'],
long_description = local_file('README.md').read(),
long_description = long_description,
classifiers = [
'Development Status :: 4 - Beta',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: MIT License',
'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 :: 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',
]
)

0 comments on commit fbbf1d7

Please sign in to comment.