-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
32 lines (29 loc) · 986 Bytes
/
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
from setuptools import setup, Extension
keyfinder_module = Extension(
'keyfinder._internal',
sources=['keyfinder.cpp'],
include_dirs=['/usr/local/include'],
library_dirs=['/usr/local/lib'],
libraries=['keyfinder', 'avcodec', 'avformat', 'avutil', 'swresample'],
extra_compile_args=['-std=c++11'],
)
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='keyfinder',
version='1.1.0',
description='Determine the key of an audio file',
long_description=long_description,
long_description_content_type="text/markdown",
ext_modules=[keyfinder_module],
python_requires='>=3',
packages=['keyfinder'],
author='Evan Purkhiser',
author_email='[email protected]',
url="https://github.com/evanpurkhiser/keyfinder-py",
classifiers=[
'Programming Language :: Python :: 3',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Multimedia :: Sound/Audio :: Analysis',
]
)