-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·64 lines (54 loc) · 1.68 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Copyright: Copyright (c) 2020., Adam Jakab
#
# Author: Adam Jakab <adam at jakab dot pro>
# Created: 2/23/20, 11:52 PM
# License: See LICENSE.txt
import pathlib
from setuptools import setup
from distutils.util import convert_path
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
main_ns = {}
ver_path = convert_path('beetsplug/bpmanalyser/version.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
# Setup
setup(
name='beets-bpmanalyser',
version=main_ns['__version__'],
description='A beets plugin for analysing tempo of songs and storing it in the bpm tag.',
author='Adam Jakab',
author_email='[email protected]',
url='https://github.com/adamjakab/BeetsPluginBpmAnalyser',
license='MIT',
long_description=README,
long_description_content_type='text/markdown',
platforms='ALL',
test_suite='test',
include_package_data=True,
packages=['beetsplug.bpmanalyser'],
python_requires='>=3.8',
install_requires=[
'beets>=1.4.9',
'aubio',
'numpy',
'pydub'
],
tests_require=[
'pytest', 'nose', 'coverage',
'mock', 'six'
],
classifiers=[
'Topic :: Multimedia :: Sound/Audio',
'License :: OSI Approved :: MIT License',
'Environment :: Console',
'Programming Language :: Python :: 3',
'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',
],
)