|
| 1 | +from os import path |
1 | 2 | from setuptools import setup |
2 | 3 |
|
| 4 | +def get_description(): |
| 5 | + working_directory = path.abspath(path.dirname(__file__)) |
| 6 | + readme_path = path.join(working_directory, 'README.md') |
| 7 | + with open(readme_path, encoding='utf-8') as f: |
| 8 | + return (f.read(), 'text/markdown') |
| 9 | + |
| 10 | +description, description_content_type = get_description() |
| 11 | + |
3 | 12 | setup( |
4 | | - name = 'messagebird', |
5 | | - packages = ['messagebird'], |
6 | | - version = '1.3.0', |
7 | | - description = "MessageBird's REST API", |
8 | | - author = 'MessageBird', |
9 | | - author_email = '[email protected]', |
10 | | - url = 'https://github.com/messagebird/python-rest-api', |
11 | | - download_url = 'https://github.com/messagebird/python-rest-api/tarball/1.3.0', |
12 | | - keywords = ['messagebird', 'sms'], |
13 | | - install_requires = ['requests>=2.4.1'], |
14 | | - license = 'BSD-2-Clause', |
15 | | - classifiers = [ |
| 13 | + name = 'messagebird', |
| 14 | + packages = ['messagebird'], |
| 15 | + version = '1.3.1', |
| 16 | + description = "MessageBird's REST API", |
| 17 | + author = 'MessageBird', |
| 18 | + author_email = '[email protected]', |
| 19 | + long_description = description, |
| 20 | + long_description_content_type = description_content_type, |
| 21 | + url = 'https://github.com/messagebird/python-rest-api', |
| 22 | + download_url = 'https://github.com/messagebird/python-rest-api/tarball/1.3.1', |
| 23 | + keywords = ['messagebird', 'sms'], |
| 24 | + install_requires = ['requests>=2.4.1'], |
| 25 | + license = 'BSD-2-Clause', |
| 26 | + classifiers = [ |
16 | 27 | 'Programming Language :: Python', |
17 | 28 | 'Programming Language :: Python :: 2', |
18 | 29 | 'Programming Language :: Python :: 3', |
|
0 commit comments