Files
final-qibotn/pyproject.toml
Alessandro Candido 4e30c8e344 build: Remove cuda poetry group
Since redundant with the corresponding extra, that is the appropriate space for it
2024-02-16 08:02:56 +01:00

59 lines
1.4 KiB
TOML

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "qibotn"
version = "0.0.1"
description = "A tensor-network translation module for Qibo"
authors = ["The Qibo team"]
license = "Apache License 2.0"
readme = "README.md"
homepage = "https://qibo.science/"
repository = "https://github.com/qiboteam/qibotn/"
documentation = "https://qibo.science/docs/qibotn/stable"
keywords = []
classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Physics",
]
packages = [{ include = "qibotn", from = "src" }]
[tool.poetry.dependencies]
python = "^3.9,<3.12"
qibo = "^0.2.4"
quimb = { version = "^1.6.0", extras = ["tensor"] }
cupy = { version = "^11.6.0", optional = true }
cuquantum-python-cu11 = { version = "^23.3.0", optional = true }
[tool.poetry.extras]
cuda = ["cupy", "cuquantum-python-cu11"]
[tool.poetry.group.dev.dependencies]
ipython = "^7.0.0"
[tool.poetry.group.tests]
optional = true
[tool.poetry.group.tests.dependencies]
pytest = "^8.0.0"
pytest-cov = "^4.1.0"
pytest-env = "^1.1.3"
[tool.poetry.group.analysis]
optional = true
[tool.poetry.group.analysis.dependencies]
pylint = "^3.0.3"
[tool.pylint.main]
ignored-modules = ["cupy", "cuquantum", "mpi4py"]
[tool.pylint.reports]
output-format = "colorized"
[tool.pytest.ini_options]
testpaths = ["tests/"]
addopts = ["--cov=qibotn", "--cov-report=xml"]
env = ["D:NUMBA_DISABLE_JIT=1"]