-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
95 lines (88 loc) · 2.3 KB
/
Copy pathsetup.py
File metadata and controls
95 lines (88 loc) · 2.3 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Setup script for EchoForge package.
"""
import os
from setuptools import setup, find_packages
# Get the long description from the README file
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
# Read version from pyproject.toml
version = "0.2.0"
# Read dependencies from requirements.txt
install_requires = [
"fastapi>=0.104.1",
"uvicorn>=0.23.2",
"pydantic>=2.4.2",
"jinja2>=3.1.2",
"python-multipart>=0.0.6",
"aiofiles>=23.2.1",
"numpy>=1.26.0",
"soundfile>=0.12.1",
"python-dotenv>=1.0.0",
]
# Optional dependencies
extras_require = {
"dev": [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"black>=24.0.0",
"isort>=5.12.0",
"mypy>=1.8.0",
"flake8>=7.0.0",
],
"torch": [
"torch>=2.4.0",
"torchaudio>=2.4.0",
"librosa>=0.10.0",
"tokenizers>=0.21.0",
"transformers>=4.48.0",
"huggingface_hub>=0.28.1",
],
"full": [
"torch>=2.4.0",
"torchaudio>=2.4.0",
"librosa>=0.10.0",
"tokenizers>=0.21.0",
"transformers>=4.48.0",
"huggingface_hub>=0.28.1",
"moshi>=0.2.2",
"torchtune>=0.4.0",
"torchao>=0.9.0",
],
}
setup(
name="echoforge",
version=version,
description="Advanced voice generation platform",
long_description=long_description,
long_description_content_type="text/markdown",
author="EchoForge Team",
author_email="info@echoforge.example.com",
url="https://github.com/yourusername/echoforge",
packages=find_packages(exclude=["tests", "tests.*"]),
package_data={
"app": [
"static/**/*",
"templates/**/*",
],
},
include_package_data=True,
python_requires=">=3.10",
install_requires=install_requires,
extras_require=extras_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
entry_points={
"console_scripts": [
"echoforge=app.main:main",
],
},
)