-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (24 loc) · 887 Bytes
/
setup.py
File metadata and controls
26 lines (24 loc) · 887 Bytes
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
from setuptools import setup, find_packages
import pathlib
def read_requirements():
req_file = pathlib.Path(__file__).parent / "requirements.txt"
if not req_file.exists():
return []
with open(req_file, 'r') as f:
return [line.strip() for line in f if line.strip() and not line.startswith('#')]
setup(
name="musicdetection",
version="0.1.0",
description="NISQA audio quality assessment model",
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
packages=find_packages(where="src"),
package_dir={"": "src"},
install_requires=read_requirements(),
python_requires=">=3.10",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)