| 1 |
|
| 2 |
|
| 3 |
import os |
| 4 |
import sys |
| 5 |
from setuptools import setup |
| 6 |
from setuptools import find_packages |
| 7 |
|
| 8 |
version = '1.4' |
| 9 |
|
| 10 |
install_requires = [] |
| 11 |
test_requires = [ |
| 12 |
'pytest', |
| 13 |
'pytest-asyncio<0.6.0' if sys.version_info < (3, 5) else 'pytest-asyncio', |
| 14 |
'coverage', |
| 15 |
'coveralls', |
| 16 |
] |
| 17 |
|
| 18 |
|
| 19 |
def read(*rnames): |
| 20 |
return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
| 21 |
|
| 22 |
|
| 23 |
setup( |
| 24 |
name='panoramisk', |
| 25 |
version=version, |
| 26 |
description="asyncio based library to play with asterisk", |
| 27 |
long_description=read('README.rst'), |
| 28 |
classifiers=[ |
| 29 |
'Development Status :: 5 - Production/Stable', |
| 30 |
'Intended Audience :: Developers', |
| 31 |
'License :: OSI Approved :: MIT License', |
| 32 |
'Operating System :: OS Independent', |
| 33 |
'Programming Language :: Python', |
| 34 |
'Programming Language :: Python :: 3.4', |
| 35 |
'Programming Language :: Python :: 3.5', |
| 36 |
'Topic :: Communications :: Telephony', |
| 37 |
'Topic :: Software Development :: Libraries :: Python Modules', |
| 38 |
], |
| 39 |
keywords=['asyncio', 'asterisk', 'voip'], |
| 40 |
author='Gael Pasgrimaud', |
| 41 |
author_email='[email protected]', |
| 42 |
url='https://github.com/gawel/panoramisk/', |
| 43 |
license='MIT license', |
| 44 |
packages=find_packages(exclude=['docs', 'tests']), |
| 45 |
include_package_data=True, |
| 46 |
zip_safe=False, |
| 47 |
install_requires=install_requires, |
| 48 |
tests_require=test_requires, |
| 49 |
extras_require={ |
| 50 |
'test': test_requires, |
| 51 |
}, |
| 52 |
entry_points=''' |
| 53 |
[console_scripts] |
| 54 |
panoramisk = panoramisk.command:main |
| 55 |
''' |
| 56 |
) |