-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
53 lines (47 loc) · 1.18 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
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# requirements= [i.strip() for i in open("requirements.txt").readlines()]
requirements = [
"ncls",
"pretty_midi",
"scipy",
"torchaudio",
"torch",
"mir_eval",
"pydub",
"seaborn",
"matplotlib",
"tensorboard",
"tqdm",
"torch_optimizer",
"sox",
"soxr",
"moduleconf"
]
setuptools.setup(
name="transkun",
version="2.0.1",
author="Yujia Yan",
description='Yet another tool for automatic piano transcription',
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Yujia-Yan/Skipping-The-Frame-Level",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=setuptools.find_packages(),
package_data={'transkun.pretrained':['*.pt', '*.conf']},
python_requires=">=3.6",
entry_points={
'console_scripts':[
'transkun = transkun.transcribe:main',
'transkunEval = transkun.computeMetrics:main'
]
},
install_requires=[
requirements
],
)