Spaces:
Build error
Build error
| #!/usr/bin/env python3 | |
| """Setup script for GenAI Specialization.""" | |
| from setuptools import setup, find_packages | |
| import os | |
| 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().splitlines() | |
| setup( | |
| name="genai-specialization", | |
| version="1.0.0", | |
| author="GenAI Specialization Team", | |
| author_email="team@genai-specialization.org", | |
| description="Complete Generative AI Specialization - Coursera Style", | |
| long_description=long_description, | |
| long_description_content_type="text/markdown", | |
| url="https://github.com/genai-specialization/course", | |
| project_urls={ | |
| "Bug Tracker": "https://github.com/genai-specialization/course/issues", | |
| "Documentation": "https://genai-specialization.readthedocs.io", | |
| "Source Code": "https://github.com/genai-specialization/course", | |
| "Hugging Face Space": "https://huggingface.co/spaces/genai-specialization/course", | |
| }, | |
| packages=find_packages(), | |
| classifiers=[ | |
| "Development Status :: 4 - Beta", | |
| "Intended Audience :: Education", | |
| "Intended Audience :: Science/Research", | |
| "Topic :: Scientific/Engineering :: Artificial Intelligence", | |
| "License :: OSI Approved :: MIT License", | |
| "Programming Language :: Python :: 3.10", | |
| "Programming Language :: Python :: 3.11", | |
| "Natural Language :: English", | |
| ], | |
| python_requires=">=3.10", | |
| install_requires=requirements, | |
| extras_require={ | |
| "dev": [ | |
| "pytest>=7.4.0", | |
| "black>=23.7.0", | |
| "flake8>=6.1.0", | |
| "pre-commit>=3.4.0", | |
| ], | |
| "gpu": [ | |
| "torch>=2.0.1+cu118", | |
| "bitsandbytes>=0.41.1", | |
| "faiss-gpu>=1.7.4", | |
| ], | |
| }, | |
| entry_points={ | |
| "console_scripts": [ | |
| "genai-launcher=course_launcher:main", | |
| "genai-jupyter=course_launcher:launch_jupyter", | |
| "genai-gradio=course_launcher:launch_gradio", | |
| ], | |
| }, | |
| include_package_data=True, | |
| zip_safe=False, | |
| ) |