-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
99 lines (99 loc) · 3.7 KB
/
setup.py
File metadata and controls
99 lines (99 loc) · 3.7 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
96
97
98
99
# """
# Setup configuration for AV-Speech Enhancement package
# """
# from setuptools import setup, find_packages
# from pathlib import Path
#
# # Read the README for long description
# readme_path = Path(__file__).parent / "README.md"
# long_description = ""
# if readme_path.exists():
# long_description = readme_path.read_text(encoding="utf-8")
#
# # Read requirements
# requirements_path = Path(__file__).parent / "requirements-colab.txt"
# requirements = []
# if requirements_path.exists():
# requirements = [
# line.strip()
# for line in requirements_path.read_text().splitlines()
# if line.strip() and not line.startswith("#")
# ]
#
# setup(
# # Package metadata
# name="av-speech-noise-reduction",
# version="0.1.0",
# author="Your Name",
# author_email="your.email@example.com",
# description="Visual-guided speech enhancement using lip movements and audio-visual fusion",
# long_description=long_description,
# long_description_content_type="text/markdown",
# url="https://github.com/yourusername/av-speech-enhancement",
#
# # Package configuration
# packages=find_packages(exclude=["app", "app.*", "tests", "tests.*", "docs"]),
# package_dir={"avspeech": "avspeech"},
#
# # Include non-Python files (if needed)
# package_data={
# "avspeech": [
# "utils/*.json", # If you have config files
# "model/*.pt", # If you include model weights
# "model/*.pth",
# ],
# },
# include_package_data=True,
#
# # Dependencies
# install_requires=requirements,
#
# # Optional dependencies for specific use cases
# extras_require={
# "dev" : [
# "pytest>=6.0",
# "pytest-cov",
# "black",
# "flake8",
# "ipython",
# ],
# "app" : [
# "gradio>=4.0.0",
# ],
# "training": [
# "tensorboard",
# "wandb", # if you use wandb for experiment tracking
# ],
# },
#
# # Python version requirement
# python_requires=">=3.8",
#
# # Entry points for command-line scripts (optional)
# entry_points={
# "console_scripts": [
# # Add CLI commands here if needed
# # "avspeech-process=avspeech.cli:main",
# # "avspeech-train=avspeech.training.train:main",
# ],
# },
#
# # Classifiers for PyPI (optional but good for documentation)
# classifiers=[
# "Development Status :: 3 - Alpha",
# "Intended Audience :: Developers",
# "Intended Audience :: Science/Research",
# "Topic :: Scientific/Engineering :: Artificial Intelligence",
# "Topic :: Multimedia :: Sound/Audio :: Speech",
# "Topic :: Multimedia :: Video",
# "License :: OSI Approved :: MIT License", # Update with your license
# "Programming Language :: Python :: 3",
# "Programming Language :: Python :: 3.8",
# "Programming Language :: Python :: 3.9",
# "Programming Language :: Python :: 3.10",
# "Programming Language :: Python :: 3.11",
# ],
#
# # Keywords for search
# keywords="speech-enhancement audio-visual deep-learning lip-reading noise-reduction",
# )