Files
voculinux/setup.py
T
Jatin K MalikandGitHub 076ea78b4b Update documentation, standardize on WAV audio format, and improve attribution (#19)
* Remove MP3 sound files and update documentation to reflect WAV-only support

* Fix stale strings
2025-04-19 00:02:52 -05:00

54 lines
1.8 KiB
Python

#!/usr/bin/env python3
from setuptools import setup, find_packages
# This package requires several system dependencies that must be installed manually:
# For PyAudio: portaudio19-dev (on Ubuntu/Debian)
# For PyGObject: libgirepository1.0-dev, libcairo2-dev, pkg-config, python3-dev
setup(
name="vocalinux",
version="0.1.0",
description="A seamless voice dictation system for Linux",
author="@jatinkrmaik",
author_email="jatinkrmalik@gmail.com",
packages=find_packages(where="src"),
package_dir={"": "src"},
install_requires=[
"vosk", # For VOSK API speech recognition
"pydub", # For audio processing
"python-xlib", # For keyboard shortcut handling in X11
"pynput", # For keyboard/mouse events
"PyGObject", # For GTK UI
"requests", # For downloading models
"tqdm", # For progress bars during downloads
"numpy", # For numerical operations
"pyaudio", # For audio input/output
],
extras_require={
"whisper": ["whisper", "torch"], # Optional Whisper AI support
"dev": [
"pytest",
"pytest-cov", # Add this for coverage testing
"black",
"isort",
"flake8",
"pre-commit", # For pre-commit hooks
],
},
entry_points={
"console_scripts": [
"vocalinux=main:main",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: X11 Applications :: GTK",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Topic :: Desktop Environment :: Gnome",
],
python_requires=">=3.8", # Updated minimum Python version
)