| """ | |
| Setup script for CHG Algorithm Package | |
| """ | |
| from setuptools import setup, find_packages | |
| with open("README.md", "r", encoding="utf-8") as fh: | |
| long_description = fh.read() | |
| with open("requirements.txt", "r", encoding="utf-8") as fh: | |
| requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")] | |
| setup( | |
| name="chg-algorithm", | |
| version="1.0.0", | |
| author="CHG Algorithm Team", | |
| author_email="chg@example.com", | |
| description="CHG (Covariance-based Hilbert Geometry) Algorithm for Gaussian Process Regression", | |
| long_description=long_description, | |
| long_description_content_type="text/markdown", | |
| url="https://github.com/your-username/chg-algorithm", | |
| packages=find_packages(), | |
| classifiers=[ | |
| "Development Status :: 4 - Beta", | |
| "Intended Audience :: Science/Research", | |
| "License :: OSI Approved :: MIT License", | |
| "Operating System :: OS Independent", | |
| "Programming Language :: Python :: 3", | |
| "Programming Language :: Python :: 3.7", | |
| "Programming Language :: Python :: 3.8", | |
| "Programming Language :: Python :: 3.9", | |
| "Programming Language :: Python :: 3.10", | |
| "Programming Language :: Python :: 3.11", | |
| "Topic :: Scientific/Engineering :: Artificial Intelligence", | |
| "Topic :: Scientific/Engineering :: Mathematics", | |
| ], | |
| python_requires=">=3.7", | |
| install_requires=requirements, | |
| extras_require={ | |
| "dev": [ | |
| "pytest>=6.0", | |
| "pytest-cov>=2.0", | |
| "black>=21.0", | |
| "flake8>=3.9", | |
| "mypy>=0.910", | |
| ], | |
| "docs": [ | |
| "sphinx>=4.0", | |
| "sphinx-rtd-theme>=1.0", | |
| ] | |
| }, | |
| entry_points={ | |
| "console_scripts": [ | |
| "chg-demo=chg_algorithm.core:run_chg_experiment", | |
| ], | |
| }, | |
| include_package_data=True, | |
| zip_safe=False, | |
| ) |