Rename pyproject.toml to setup.py
Browse files- pyproject.toml +0 -32
- setup.py +39 -0
pyproject.toml
DELETED
@@ -1,32 +0,0 @@
|
|
1 |
-
[build-system]
|
2 |
-
requires = ["setuptools", "wheel"]
|
3 |
-
build-backend = "setuptools.build_meta"
|
4 |
-
|
5 |
-
[project]
|
6 |
-
name = "rvcinfpy"
|
7 |
-
version = "1.1.0"
|
8 |
-
description = "Python wrapper for fast inference with rvc"
|
9 |
-
readme = "README.md"
|
10 |
-
authors = [{ name = "Thatneos" }]
|
11 |
-
license = { text = "MIT" }
|
12 |
-
requires-python = ">=3.10"
|
13 |
-
dependencies = [
|
14 |
-
"torch",
|
15 |
-
"torchaudio",
|
16 |
-
"praat-parselmouth>=0.4.3",
|
17 |
-
"pyworld==0.3.2",
|
18 |
-
"faiss-cpu==1.7.3",
|
19 |
-
"torchcrepe==0.0.23",
|
20 |
-
"ffmpeg-python>=0.2.0",
|
21 |
-
"typeguard==4.2.0",
|
22 |
-
"soundfile",
|
23 |
-
"librosa",
|
24 |
-
"numpy",
|
25 |
-
"scipy",
|
26 |
-
"numba==0.56.4",
|
27 |
-
"edge-tts",
|
28 |
-
"fairseq"
|
29 |
-
]
|
30 |
-
|
31 |
-
[tool.setuptools]
|
32 |
-
packages = ["rvcinfpy"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setup.py
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import platform
|
3 |
+
import pkg_resources
|
4 |
+
from setuptools import find_packages, setup
|
5 |
+
|
6 |
+
setup(
|
7 |
+
name="rvcinfpy",
|
8 |
+
version="1.1.0",
|
9 |
+
description="Python wrapper for fast inference with rvc",
|
10 |
+
long_description=open('README.md').read(),
|
11 |
+
long_description_content_type='text/markdown',
|
12 |
+
readme="README.md",
|
13 |
+
python_requires=">=3.10",
|
14 |
+
author="Thatneos",
|
15 |
+
url="https://huggingface.co/Thatneos/rvcinfpy",
|
16 |
+
license="MIT",
|
17 |
+
packages=find_packages(),
|
18 |
+
package_data={'': ['*.txt', '*.rep', '*.pickle']},
|
19 |
+
install_requires=[
|
20 |
+
"torch",
|
21 |
+
"torchaudio",
|
22 |
+
"praat-parselmouth>=0.4.3",
|
23 |
+
"pyworld==0.3.2",
|
24 |
+
"faiss-cpu==1.7.3",
|
25 |
+
"torchcrepe==0.0.23",
|
26 |
+
"ffmpeg-python>=0.2.0",
|
27 |
+
"fairseq",
|
28 |
+
"typeguard==4.2.0",
|
29 |
+
"soundfile",
|
30 |
+
"librosa",
|
31 |
+
"numpy",
|
32 |
+
"git+https://github.com/One-sixth/fairseq.git"
|
33 |
+
],
|
34 |
+
include_package_data=True,
|
35 |
+
extras_require={"all": [
|
36 |
+
"scipy",
|
37 |
+
"numba==0.56.4",
|
38 |
+
"edge-tts"
|
39 |
+
]},
|