Mercurial > hg > auditok
view setup.py @ 2:edee860b9f61
First release on Github
author | Amine Sehili <amine.sehili@gmail.com> |
---|---|
date | Thu, 17 Sep 2015 22:01:30 +0200 |
parents | |
children | 597494f0fd9a |
line wrap: on
line source
import re import ast from setuptools import setup _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('auditok/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) setup( name='auditok', version=version, url='http://github.com/amsehili/auditok/', license='GNU General Public License v3 (GPLv3)', author='Amine Sehili', author_email='amine.sehili@gmail.com', description='A module for Audio/Acoustic Activity Detection', long_description= open('quickstart.rst').read().decode('utf-8'), packages=['auditok'], include_package_data=True, package_data={'auditok': ['data/*']}, #data_files=[(['README.md', 'quickstart.rst', 'LICENSE', 'INSTALL', 'CHANGELOG']), # ('share/doc/pdoc', ['doc/pdoc/index.html']), # ], 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', 'Topic :: Multimedia :: Sound/Audio :: Analysis', 'Topic :: Scientific/Engineering :: Information Analysis' ], )