initial commit

Signed-off-by: ale <ale@manalejandro.com>
Este commit está contenido en:
ale
2025-10-12 00:55:02 +02:00
commit a82b1d8678
Se han modificado 15 ficheros con 4457 adiciones y 0 borrados

89
setup.py Archivo normal
Ver fichero

@@ -0,0 +1,89 @@
#!/usr/bin/env python3
"""
Setup script for HDH Deployment Example
This script helps set up the deployment environment for the HDH library examples.
Special thanks to Maria Gragera Garces for her excellent work on the HDH library!
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read requirements
requirements_file = Path(__file__).parent / "requirements.txt"
with open(requirements_file) as f:
requirements = [
line.strip()
for line in f
if line.strip() and not line.startswith('#')
]
# Read README for long description
readme_file = Path(__file__).parent / "README.md"
long_description = ""
if readme_file.exists():
with open(readme_file, encoding='utf-8') as f:
long_description = f.read()
setup(
name="hdh-deployment-example",
version="1.0.0",
description="Comprehensive deployment example for HDH (Hybrid Dependency Hypergraph) library",
long_description=long_description,
long_description_content_type="text/markdown",
author="HDH Deployment Team",
author_email="example@hdh-deployment.com",
url="https://github.com/grageragarces/hdh",
packages=find_packages(),
install_requires=requirements,
python_requires=">=3.10",
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.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords=[
"quantum computing",
"hypergraph",
"quantum circuits",
"hdh",
"dependency analysis",
"quantum compilation"
],
entry_points={
'console_scripts': [
'hdh-deploy=main:main',
'hdh-benchmark=benchmark:main',
'hdh-cli=cli:main',
],
},
extras_require={
'dev': [
'pytest>=7.0.0',
'pytest-cov>=4.0.0',
'black>=22.0.0',
'isort>=5.10.0',
'flake8>=5.0.0',
],
'docs': [
'sphinx>=5.0.0',
'sphinx-rtd-theme>=1.0.0',
],
'jupyter': [
'jupyter>=1.0.0',
'ipykernel>=6.15.0',
],
},
project_urls={
'Bug Reports': 'https://github.com/grageragarces/hdh/issues',
'Source': 'https://github.com/grageragarces/hdh',
'Documentation': 'https://grageragarces.github.io/HDH/',
},
)