-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
55 lines (49 loc) · 1.35 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
# To use a consistent encoding
from codecs import open
from os import path
import numpy
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
# First check if cupy is installed
try:
import cupy
except ImportError:
raise RuntimeError(
"CuPy is not available. Please install it manually: "
"https://docs.cupy.dev/en/stable/install.html"
)
# Get the long description from the README file
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
dev_requires = [
"flake8==5.0.4",
"black==22.3.0",
"isort==5.10.1",
"pre-commit>=2.17.0,<=2.19.0",
]
setup(
name="gss",
version="0.6.1",
description="GPU-accelerated Guided Source Separation",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/desh2608/gss",
author="Desh Raj",
author_email="r.desh26@gmail.com",
keywords="speech enhancement gss", # Optional
packages=find_packages(exclude=["contrib", "docs", "tests"]), # Required
install_requires=[
"cached_property",
"numpy",
"lhotse",
],
extras_require={
"dev": dev_requires,
},
include_dirs=[numpy.get_include()],
entry_points={
"console_scripts": [
"gss=gss.bin.gss:cli",
]
},
)