accuraterip-checksum: convert to python C extension
* calculate v1 and v2 checksums at once * let libsndfile handle both WAV and FLAC Signed-off-by: Andreas Oberritter <obi@saftware.de>
This commit is contained in:
7
setup.py
7
setup.py
@@ -1,4 +1,4 @@
|
||||
from setuptools import setup, find_packages
|
||||
from setuptools import setup, find_packages, Extension
|
||||
|
||||
setup(
|
||||
name="whipper",
|
||||
@@ -11,6 +11,11 @@ setup(
|
||||
python_requires='>=2.7,<3',
|
||||
packages=find_packages(),
|
||||
setup_requires=['setuptools_scm'],
|
||||
ext_modules=[
|
||||
Extension('accuraterip',
|
||||
libraries=['sndfile'],
|
||||
sources=['src/accuraterip-checksum.c'])
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'whipper = whipper.command.main:main'
|
||||
|
||||
Reference in New Issue
Block a user