Move cuquantum-python-cu11 package to extras to avoid the issue of missing CUDA

This commit is contained in:
Liwei Yang
2023-08-30 15:58:32 +08:00
parent ba442c9830
commit 4902195902

View File

@@ -43,7 +43,6 @@ setup(
"qibojit>=0.0.7", "qibojit>=0.0.7",
"quimb[tensor]>=1.4.0", "quimb[tensor]>=1.4.0",
"cupy>=11.6.0", "cupy>=11.6.0",
"cuquantum-python-cu11>=23.3.0",
], ],
extras_require={ extras_require={
"docs": [], "docs": [],
@@ -55,6 +54,9 @@ setup(
"analysis": [ "analysis": [
"pylint>=2.16.0", "pylint>=2.16.0",
], ],
"cuquantum": [
"cuquantum-python-cu11>=23.3.0",
],
}, },
python_requires=">=3.8.0", python_requires=">=3.8.0",
long_description=(HERE / "README.md").read_text(encoding="utf-8"), long_description=(HERE / "README.md").read_text(encoding="utf-8"),