Spaces:
Running
on
Zero
Running
on
Zero
Upload ./RepCodec/setup.py with huggingface_hub
Browse files- RepCodec/setup.py +31 -0
RepCodec/setup.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (c) ByteDance, Inc. and its affiliates.
|
| 2 |
+
# Copyright (c) Chutong Meng
|
| 3 |
+
#
|
| 4 |
+
# This source code is licensed under the MIT license found in the
|
| 5 |
+
# LICENSE file in the root directory of this source tree.
|
| 6 |
+
|
| 7 |
+
from setuptools import setup
|
| 8 |
+
|
| 9 |
+
try:
|
| 10 |
+
with open("README.md") as fp:
|
| 11 |
+
long_description = fp.read()
|
| 12 |
+
except Exception:
|
| 13 |
+
long_description = ""
|
| 14 |
+
|
| 15 |
+
setup(
|
| 16 |
+
name="RepCodec",
|
| 17 |
+
version="v1.0.0",
|
| 18 |
+
description="A Speech Representation Codec for Speech Tokenization",
|
| 19 |
+
long_description=long_description,
|
| 20 |
+
url="https://github.com/mct10/RepCodec",
|
| 21 |
+
packages=["repcodec", "repcodec.modules", "repcodec.layers"],
|
| 22 |
+
package_data={
|
| 23 |
+
"repcodec": ["configs/*.yaml"]
|
| 24 |
+
},
|
| 25 |
+
install_requires=["numpy", "tqdm", "torch", "tensorboardX", "PyYAML"],
|
| 26 |
+
entry_points={
|
| 27 |
+
'console_scripts': [
|
| 28 |
+
"repcodec=repcodec.tokenize:cli"
|
| 29 |
+
]
|
| 30 |
+
}
|
| 31 |
+
)
|