-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·67 lines (56 loc) · 1.71 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
65
66
67
# Copyright: Copyright (c) 2020., Adam Jakab
#
# Author: Adam Jakab <adam at jakab dot pro>
# Created: 3/21/20, 11:27 AM
# 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()
plg_ns = {}
about_path = convert_path('beetsplug/autofix/about.py')
with open(about_path) as about_file:
exec(about_file.read(), plg_ns)
# Setup
setup(
name=plg_ns['__PACKAGE_NAME__'],
version=plg_ns['__version__'],
description=plg_ns['__PACKAGE_DESCRIPTION__'],
author=plg_ns['__author__'],
author_email=plg_ns['__email__'],
url=plg_ns['__PACKAGE_URL__'],
license='MIT',
long_description=README,
long_description_content_type='text/markdown',
platforms='ALL',
include_package_data=True,
test_suite='test',
packages=['beetsplug.autofix', 'beetsplug.autofix.task'],
python_requires='>=3.8',
install_requires=[
'beets>=1.4.9',
'alive-progress',
],
tests_require=[
'pytest', 'nose', 'coverage',
'mock', 'six', 'yaml',
],
# Extras needed during testing
extras_require={
'tests': [],
},
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',
],
)