-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·58 lines (54 loc) · 1.84 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import ast
import re
here = os.path.abspath(os.path.dirname(__file__))
os.chdir(here)
_version_re = re.compile(r'__version__\s*=\s*(.*)')
with open(os.path.join(here, 'crosslooper.py'), 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name="crosslooper",
version=version,
description="Calculate loop metadata on audio files.",
author="Splendide Imaginarius",
url="https://github.com/Splendide-Imaginarius/crosslooper",
py_modules=["crosslooper",
"crosslooperdir"],
packages=find_packages(include=['crosslooperpresets']),
package_data={
'crosslooperpresets': ['*.conf'],
},
install_requires=['numpy',
'scipy',
'matplotlib',
'mutagen',
'tqdm',
'tomli >= 1.1.0 ; python_version < "3.11"'],
setup_requires=['stpl',
'restview'],
python_requires='>=3.6',
keywords='media audio file synchronization looping metadata rpg maker',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: ' +
'GNU General Public License v3 or later (GPLv3+)',
'Environment :: Console',
'Topic :: Utilities',
'Topic :: Multimedia',
'Topic :: Multimedia :: Video',
'Topic :: Multimedia :: Sound/Audio'
],
entry_points="""
[console_scripts]
crosslooper=crosslooper:main
crosslooperdir=crosslooperdir:main
"""
)