Rename setup.py to pyproject.toml
Browse files- pyproject.toml +37 -0
- setup.py +0 -39
pyproject.toml
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"fairseq2",
|
22 |
+
"typeguard==4.2.0",
|
23 |
+
"soundfile",
|
24 |
+
"librosa",
|
25 |
+
"numpy",
|
26 |
+
"scipy",
|
27 |
+
"numba==0.56.4",
|
28 |
+
"edge-tts"
|
29 |
+
]
|
30 |
+
|
31 |
+
[tool.setuptools]
|
32 |
+
packages = ["rvcinfpy"]
|
33 |
+
|
34 |
+
[tool.pip]
|
35 |
+
dependencies = [
|
36 |
+
"git+https://github.com/One-sixth/fairseq.git"
|
37 |
+
]
|
setup.py
DELETED
@@ -1,39 +0,0 @@
|
|
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 |
-
"fairseq2",
|
28 |
-
"typeguard==4.2.0",
|
29 |
-
"soundfile",
|
30 |
-
"librosa",
|
31 |
-
"numpy",
|
32 |
-
],
|
33 |
-
include_package_data=True,
|
34 |
-
extras_require={"all": [
|
35 |
-
"scipy",
|
36 |
-
"numba==0.56.4",
|
37 |
-
"edge-tts"
|
38 |
-
]},
|
39 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|