|
| 1 | +from setuptools import setup, find_packages, Extension |
| 2 | +from codecs import open |
| 3 | +from os import path |
| 4 | +from setuptools.dist import Distribution |
| 5 | +import pypandoc |
| 6 | + |
| 7 | +pypandoc.convert('README.md', 'rst', outputfile="README.rst") |
| 8 | + |
| 9 | +here = path.abspath(path.dirname(__file__)) |
| 10 | + |
| 11 | +# Get the long description from the README file |
| 12 | +with open(path.join(here, 'README.rst'), encoding='utf-8') as f: |
| 13 | + long_description = f.read() |
| 14 | + |
| 15 | +setup( |
| 16 | + name='pytelemetrycli', |
| 17 | + |
| 18 | + version='1.0.0', |
| 19 | + |
| 20 | + description='command-line interface for superior communication with any embedded device.', |
| 21 | + long_description=long_description, |
| 22 | + |
| 23 | + url='https://github.com/Overdrivr/pytelemetrycli', |
| 24 | + |
| 25 | + author='Rémi Bèges', |
| 26 | + author_email='remi.beges@gmail.com', |
| 27 | + |
| 28 | + license='MIT', |
| 29 | + |
| 30 | + # See https://pypi.python.org/pypi?%3Aaction=list_classifiers |
| 31 | + classifiers=[ |
| 32 | + 'Development Status :: 4 - Beta', |
| 33 | + |
| 34 | + # Indicate who your project is intended for |
| 35 | + 'Intended Audience :: Developers', |
| 36 | + 'Intended Audience :: End Users/Desktop', |
| 37 | + 'Intended Audience :: Telecommunications Industry', |
| 38 | + 'Topic :: Communications', |
| 39 | + 'Topic :: Scientific/Engineering :: Human Machine Interfaces', |
| 40 | + 'Topic :: Software Development :: Embedded Systems', |
| 41 | + 'Topic :: Software Development :: Libraries :: Python Modules', |
| 42 | + |
| 43 | + # Pick your license as you wish (should match "license" above) |
| 44 | + 'License :: OSI Approved :: MIT License', |
| 45 | + |
| 46 | + # Specify the Python versions you support here. In particular, ensure |
| 47 | + # that you indicate whether you support Python 2, Python 3 or both. |
| 48 | + 'Programming Language :: Python :: 3.4', |
| 49 | + 'Programming Language :: Python :: 3.5', |
| 50 | + ], |
| 51 | + |
| 52 | + keywords='cli plot debug lightweight communication protocol embedded telemetry remote program control', |
| 53 | + |
| 54 | + # You can just specify the packages manually here if your project is |
| 55 | + # simple. Or you can use find_packages(). |
| 56 | + packages=find_packages(), |
| 57 | + |
| 58 | + # List run-time dependencies here. These will be installed by pip when |
| 59 | + # your project is installed. For an analysis of "install_requires" vs pip's |
| 60 | + # requirements files see: |
| 61 | + # https://packaging.python.org/en/latest/requirements.html |
| 62 | + install_requires=['pytelemetry','pyserial','docopt','pyqtgraph','numpy'], |
| 63 | + |
| 64 | + # List additional groups of dependencies here (e.g. development |
| 65 | + # dependencies). You can install these using the following syntax, |
| 66 | + # for example: |
| 67 | + # $ pip install -e .[dev,test] |
| 68 | + extras_require={ |
| 69 | + 'dev': ['check-manifest'], |
| 70 | + 'test': ['pytest','pytest-cov'], |
| 71 | + }, |
| 72 | + |
| 73 | + # To provide executable scripts, use entry points in preference to the |
| 74 | + # "scripts" keyword. Entry points provide cross-platform support and allow |
| 75 | + # pip to create the appropriate form of executable for the target platform. |
| 76 | + entry_points={ |
| 77 | + 'console_scripts': [ |
| 78 | + 'tlm = pytelemetrycli.cli:main', |
| 79 | + ], |
| 80 | + }, |
| 81 | +) |
0 commit comments