File size: 564 Bytes
0883aa1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (c) 2023 Amphion.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# This code is modified from https://github.com/jaywalnut310/vits/

from distutils.core import setup, Extension
from Cython.Build import cythonize
import numpy

extension = Extension(
    name="monotonic_align.core",
    sources=["core.pyx"],
    include_dirs=[numpy.get_include()],
    # Define additional arguments if needed
)

setup(
    name="monotonic_align",
    ext_modules=cythonize([extension]),
)