2010-06-17 20:16:28 +04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
from distutils.core import setup
|
|
|
|
|
2011-06-01 04:21:46 +04:00
|
|
|
from asterisk import __version__ as version
|
|
|
|
|
2010-06-18 14:02:14 +04:00
|
|
|
|
|
|
|
description = []
|
2013-12-03 14:37:40 +04:00
|
|
|
f = open('README.rst')
|
2012-11-11 21:43:41 +04:00
|
|
|
|
2010-06-18 14:02:14 +04:00
|
|
|
logo_stripped = False
|
2012-11-11 21:43:41 +04:00
|
|
|
for line in f:
|
|
|
|
if not logo_stripped and line.strip():
|
2010-06-18 14:02:14 +04:00
|
|
|
continue
|
|
|
|
logo_stripped = True
|
2012-11-11 21:43:41 +04:00
|
|
|
description.append(line)
|
2010-06-18 14:02:14 +04:00
|
|
|
|
2012-11-11 21:43:41 +04:00
|
|
|
licenses = ('Python Software Foundation License',
|
|
|
|
'GNU Library or Lesser General Public License (LGPL)')
|
2010-06-23 12:30:44 +04:00
|
|
|
|
2012-11-11 21:43:41 +04:00
|
|
|
setup(
|
|
|
|
name='pyst2',
|
|
|
|
version=version,
|
|
|
|
description='A Python Interface to Asterisk',
|
|
|
|
long_description=''.join(description), author='Karl Putland',
|
|
|
|
author_email='kputland@users.sourceforge.net',
|
|
|
|
maintainer='Randall Degges',
|
|
|
|
maintainer_email='rdegges@gmail.com',
|
2013-12-03 14:37:40 +04:00
|
|
|
url='https://github.com/rdegges/pyst2',
|
2012-11-11 21:43:41 +04:00
|
|
|
packages=['asterisk'],
|
|
|
|
license=', '.join(licenses),
|
|
|
|
platforms='Any',
|
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 5 - Production/Stable',
|
|
|
|
'Environment :: Other Environment',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'Intended Audience :: Telecommunications Industry',
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Programming Language :: Python :: 2.4',
|
|
|
|
'Programming Language :: Python :: 2.5',
|
|
|
|
'Programming Language :: Python :: 2.6',
|
|
|
|
'Programming Language :: Python :: 2.7',
|
2014-10-07 22:49:54 +04:00
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Programming Language :: Python :: 3.2',
|
|
|
|
'Programming Language :: Python :: 3.3',
|
|
|
|
'Programming Language :: Python :: 3.4',
|
2012-11-11 21:43:41 +04:00
|
|
|
'Topic :: Communications :: Internet Phone',
|
|
|
|
'Topic :: Communications :: Telephony',
|
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules'
|
|
|
|
] + ['License :: OSI Approved :: ' + l for l in licenses]
|
|
|
|
)
|