| """Package setup for AmanPay.""" | |
| from pathlib import Path | |
| from setuptools import find_packages, setup | |
| readme = Path(__file__).parent / "README.md" | |
| long_description = readme.read_text() if readme.exists() else "" | |
| setup( | |
| name="amanpay", | |
| version="0.1.0", | |
| description="Multi-modal biometric authentication for secure digital payments", | |
| long_description=long_description, | |
| long_description_content_type="text/markdown", | |
| packages=find_packages(include=["amanpay", "amanpay.*", "api", "api.*", "demo"]), | |
| python_requires=">=3.10", | |
| install_requires=[ | |
| "torch>=2.1.0", | |
| "torchvision>=0.16.0", | |
| "facenet-pytorch>=2.5.3", | |
| "numpy>=1.24.0", | |
| "scipy>=1.11.0", | |
| "opencv-python>=4.8.0", | |
| "Pillow>=10.0.0", | |
| "fastapi>=0.104.0", | |
| "uvicorn[standard]>=0.24.0", | |
| "python-multipart>=0.0.6", | |
| "pydantic>=2.5.0", | |
| "gradio>=4.8.0", | |
| "pyyaml>=6.0.0", | |
| ], | |
| extras_require={ | |
| "dev": ["pytest>=7.4.0", "pytest-cov>=4.1.0", "httpx>=0.25.0"], | |
| }, | |
| entry_points={ | |
| "console_scripts": [ | |
| "amanpay-api=api.main:app", | |
| ], | |
| }, | |
| ) | |