Spaces:
Runtime error
Runtime error
| import json | |
| import setuptools | |
| with open("README.md", "r", encoding="utf-8") as fh: | |
| long_description = fh.read() | |
| with open("requirements.txt", "r", encoding="utf-8") as f: | |
| requirements = f.read().split("\n") | |
| with open("package_info.json", "r", encoding="utf-8") as f: | |
| package_info = json.load(f) | |
| setuptools.setup( | |
| name="deepface", | |
| version=package_info["version"], | |
| author="Sefik Ilkin Serengil", | |
| author_email="serengil@gmail.com", | |
| description=( | |
| "A Lightweight Face Recognition and Facial Attribute Analysis Framework" | |
| " (Age, Gender, Emotion, Race) for Python" | |
| ), | |
| data_files=[("", ["README.md", "requirements.txt", "package_info.json"])], | |
| long_description=long_description, | |
| long_description_content_type="text/markdown", | |
| url="https://github.com/serengil/deepface", | |
| packages=setuptools.find_packages(), | |
| classifiers=[ | |
| "Programming Language :: Python :: 3", | |
| "License :: OSI Approved :: MIT License", | |
| "Operating System :: OS Independent", | |
| ], | |
| entry_points={ | |
| "console_scripts": ["deepface = deepface.DeepFace:cli"], | |
| }, | |
| python_requires=">=3.7", | |
| install_requires=requirements, | |
| ) | |