-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (46 loc) · 2.11 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
from setuptools import Extension, find_packages, setup
from arver import APPNAME, URL, VERSION
with open('README.md', encoding='utf-8') as f:
readme = f.read()
setup(name=APPNAME,
version=VERSION,
description='Application for verifying ripped audio files using AccurateRip database.',
long_description=readme,
long_description_content_type="text/markdown",
author='arcctgx',
author_email='[email protected]',
url=URL,
license='GPLv3',
classifiers=[
'Development Status :: 5 - Production/Stable', 'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English', 'Operating System :: POSIX :: Linux',
'Programming Language :: C', 'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12',
'Topic :: Multimedia :: Sound/Audio :: Analysis',
'Topic :: Multimedia :: Sound/Audio :: CD Audio :: CD Ripping'
],
python_requires='>=3.7',
packages=find_packages(),
entry_points={
'console_scripts': [
'arver = arver.arver_main:main', 'arver-discinfo = arver.arver_discinfo:main',
'arver-ripinfo = arver.arver_ripinfo:main',
'arver-bin-parser = arver.arver_bin_parser:main'
]
},
ext_modules=[
Extension('arver.audio._audio',
sources=['arver/audio/_audio.c'],
libraries=['sndfile', 'z'],
extra_compile_args=['-std=c99', '-D_DEFAULT_SOURCE'],
define_macros=[('Py_LIMITED_API', '0x03070000')],
py_limited_api=True)
],
options={'bdist_wheel': {
'py_limited_api': 'cp37'
}},
install_requires=['discid', 'musicbrainzngs', 'pycdio', 'requests'])