diff --git a/messagebird/client.py b/messagebird/client.py index 1b9fc48..42d6b04 100644 --- a/messagebird/client.py +++ b/messagebird/client.py @@ -14,7 +14,7 @@ from messagebird.verify import Verify ENDPOINT = 'https://rest.messagebird.com' -CLIENT_VERSION = '1.3.0' +CLIENT_VERSION = '1.3.1' PYTHON_VERSION = '%d.%d.%d' % (sys.version_info[0], sys.version_info[1], sys.version_info[2]) USER_AGENT = 'MessageBird/ApiClient/%s Python/%s' % (CLIENT_VERSION, PYTHON_VERSION) diff --git a/setup.py b/setup.py index bcb1abe..e21ddbb 100644 --- a/setup.py +++ b/setup.py @@ -1,18 +1,29 @@ +from os import path from setuptools import setup +def get_description(): + working_directory = path.abspath(path.dirname(__file__)) + readme_path = path.join(working_directory, 'README.md') + with open(readme_path, encoding='utf-8') as f: + return (f.read(), 'text/markdown') + +description, description_content_type = get_description() + setup( - name = 'messagebird', - packages = ['messagebird'], - version = '1.3.0', - description = "MessageBird's REST API", - author = 'MessageBird', - author_email = 'support@messagebird.com', - url = 'https://github.com/messagebird/python-rest-api', - download_url = 'https://github.com/messagebird/python-rest-api/tarball/1.3.0', - keywords = ['messagebird', 'sms'], - install_requires = ['requests>=2.4.1'], - license = 'BSD-2-Clause', - classifiers = [ + name = 'messagebird', + packages = ['messagebird'], + version = '1.3.1', + description = "MessageBird's REST API", + author = 'MessageBird', + author_email = 'support@messagebird.com', + long_description = description, + long_description_content_type = description_content_type, + url = 'https://github.com/messagebird/python-rest-api', + download_url = 'https://github.com/messagebird/python-rest-api/tarball/1.3.1', + keywords = ['messagebird', 'sms'], + install_requires = ['requests>=2.4.1'], + license = 'BSD-2-Clause', + classifiers = [ 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3',