forked from amsehili/auditok
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (51 loc) · 1.94 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import sys
import re
import ast
from setuptools import setup
_version_re = re.compile(r'__version__\s+=\s+(.*)')
if sys.version_info >= (3, 0):
with open('auditok/__init__.py', 'rt') as f:
version = str(ast.literal_eval(_version_re.search(
f.read()).group(1)))
long_desc = open('doc/index.rst', 'rt').read()
else:
with open('auditok/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
long_desc = open('doc/index.rst', 'rt').read().decode('utf-8')
setup(
name='auditok',
version=version,
url='http://github.com/amsehili/auditok/',
license='GNU General Public License v3 (GPLv3)',
author='Amine Sehili',
author_email='[email protected]',
description='A module for Audio/Acoustic Activity Detection',
long_description= long_desc,
packages=['auditok'],
include_package_data=True,
package_data={'auditok': ['data/*']},
zip_safe=False,
platforms='ANY',
provides=['auditok'],
requires=['PyAudio'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Telecommunications Industry',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Multimedia :: Sound/Audio :: Analysis',
'Topic :: Scientific/Engineering :: Information Analysis'
],
entry_points = {'console_scripts': ['auditok = auditok.cmdline:main']}
)