|
1 | 1 | #!/usr/bin/env python3 |
2 | 2 |
|
3 | 3 | from setuptools import setup |
| 4 | +from os.path import dirname, abspath, join |
| 5 | +from codecs import open |
4 | 6 |
|
5 | | -VERSION = '0.3.0' |
| 7 | +DIR = dirname(abspath(__file__)) |
| 8 | +VERSION = '0.3.1' |
| 9 | + |
| 10 | +with open(join(DIR, 'README.rst'), encoding='utf-8') as f: |
| 11 | + long_description = f.read() |
6 | 12 |
|
7 | 13 | setup( |
8 | | - name = 'hdlcontroller', |
9 | | - version = VERSION, |
10 | | - description = 'HDLC controller', |
11 | | - license = 'MIT', |
12 | | - keywords = 'hdlc', |
13 | | - author = 'Paul-Emmanuel Raoul', |
14 | | - author_email = 'skyper@skyplabs.net', |
15 | | - url = 'https://github.com/SkypLabs/python-hdlc-controller', |
16 | | - download_url = 'https://github.com/SkypLabs/python-hdlc-controller/archive/v{0}.zip'.format(VERSION), |
17 | | - setup_requires = ['setuptools-markdown'], |
18 | | - long_description_markdown_filename = 'README.md', |
19 | | - py_modules = ['hdlcontroller'], |
20 | | - scripts = ['hdlcontroller.py'], |
21 | | - install_requires = ['python4yahdlc>=1.0.2', 'pyserial'], |
22 | | - test_suite = 'test', |
| 14 | + name = 'hdlcontroller', |
| 15 | + version = VERSION, |
| 16 | + description = 'HDLC controller', |
| 17 | + long_description = long_description, |
| 18 | + license = 'MIT', |
| 19 | + keywords = 'hdlc controller', |
| 20 | + author = 'Paul-Emmanuel Raoul', |
| 21 | + author_email = 'skyper@skyplabs.net', |
| 22 | + url = 'https://github.com/SkypLabs/python-hdlc-controller', |
| 23 | + download_url = 'https://github.com/SkypLabs/python-hdlc-controller/archive/v{0}.zip'.format(VERSION), |
| 24 | + classifiers = [ |
| 25 | + 'Development Status :: 4 - Beta', |
| 26 | + 'Intended Audience :: Developers', |
| 27 | + 'Topic :: Software Development :: Libraries :: Python Modules', |
| 28 | + 'Programming Language :: Python :: 3', |
| 29 | + 'Programming Language :: Python :: 3.2', |
| 30 | + 'Programming Language :: Python :: 3.3', |
| 31 | + 'Programming Language :: Python :: 3.4', |
| 32 | + 'Programming Language :: Python :: 3.5', |
| 33 | + 'License :: OSI Approved :: MIT License', |
| 34 | + ], |
| 35 | + py_modules = ['hdlcontroller'], |
| 36 | + scripts = ['hdlcontroller.py'], |
| 37 | + install_requires = ['python4yahdlc>=1.0.2', 'pyserial'], |
| 38 | + test_suite = 'test', |
23 | 39 | ) |
0 commit comments