|
1 | | -from distutils.core import setup |
| 1 | +from setuptools import setup |
| 2 | +from os.path import join, dirname |
| 3 | +from pathlib import Path |
| 4 | + |
| 5 | +def read(fname): |
| 6 | + """Read content of a file and return as a string.""" |
| 7 | + return Path(join(dirname(__file__), fname)).read_text() |
2 | 8 |
|
3 | 9 | setup( |
4 | 10 | name='pychannels', |
5 | | - version="1.2.0", |
| 11 | + version="1.2.1", |
6 | 12 | packages=['pychannels',], |
7 | 13 | license='The MIT License', |
8 | | - description = 'API client for the Channels app - https://getchannels.com', |
9 | | - author = 'Fancy Bits, LLC', |
10 | | - author_email = '[email protected]', |
11 | | - url = 'https://github.com/fancybits/pychannels', |
12 | | - keywords = ['api', 'client', 'channels', 'automation'], |
| 14 | + description='API client for the Channels app - https://getchannels.com', |
| 15 | + long_description_content_type='text/markdown', |
| 16 | + long_description=read('README.md'), |
| 17 | + author='Fancy Bits, LLC', |
| 18 | + |
| 19 | + url='https://github.com/fancybits/pychannels', |
| 20 | + keywords=['api', 'client', 'channels', 'automation'], |
13 | 21 | install_requires=['requests>=2.0'], |
14 | 22 | zip_safe=True |
15 | 23 | ) |
0 commit comments