This repository has been archived by the owner on Nov 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
46 lines (40 loc) · 1.49 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
from setuptools import setup, Extension
args = ['-fno-finite-math-only']
defines = [('NDEBUG', '1')]
audiosync = Extension(
'audiosync',
define_macros = defines,
extra_compile_args = args,
include_dirs = ['include'],
libraries = ['m', 'pthread', 'fftw3', 'pulse'],
library_dirs = ['/usr/local/lib'],
sources = ['src/bind.c', 'src/audiosync.c', 'src/cross_correlation.c',
'src/ffmpeg_pipe.c', 'src/download/linux_download.c',
'src/capture/linux_capture.c']
)
setup(
name='vidify-audiosync',
version='0.3.0',
description='Vidify extension to synchronize a YouTube video with the'
' audio playing on your device.',
long_description=open('README.md', 'r').read(),
long_description_content_type='text/markdown',
url='https://github.com/marioortizmanero/vidify-audiosync',
license='LGPL',
author='Mario O.M.',
author_email='[email protected]',
maintainer='Mario O.M.',
maintainer_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: End Users/Desktop',
'Topic :: Multimedia :: Sound/Audio :: Analysis',
'License :: OSI Approved :: GNU Lesser General Public License v3'
' (LGPLv3)',
'Programming Language :: C'
],
keywords='audio synchronization cross-correlation pearson coefficient fft'
' signal-processing ffmpeg youtube-dl fftw',
python_requires='>=3.5',
ext_modules = [audiosync]
)