Files
voculinux/setup.py
T
Jatin K MalikandGitHub a33c0d1b4c Simplify Keyboard Shortcuts to Exclusive Double-tap Ctrl Implementation (#9)
* Implement double-tap Ctrl keyboard shortcut feature

* Simplify keyboard shortcuts to only use double-tap Ctrl

* Update docs

* Fix syntax

* Fix CI build by adding portaudio19-dev dependency
2025-04-18 23:36:49 -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="Vocalinux Team",
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
)