build: Introduce Poetry

This commit is contained in:
Alessandro Candido
2024-02-08 16:29:25 +01:00
parent 5c24cc34c5
commit eec44f0621
3 changed files with 793 additions and 6 deletions

View File

@@ -1,3 +1,36 @@
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "qibotn"
version = "0.0.1"
description = ""
authors = ["Qibo Team"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9,<3.13"
qibojit = "^0.0.7"
quimb = { version = "^0.0.7", extras = ["tensor"] }
[tool.poetry.group.dev.dependencies]
ipython = "^7"
[tool.poetry.group.tests.dependencies]
pytest = "^8.0.0"
pytest-cov = "^4.1.0"
pytest-env = "^1.1.3"
[tool.poetry.group.analysis.dependencies]
pylint = "^3.0.3"
[tool.poetry.group.cuda.dependencies]
cupy = "^11.6.0"
cuquantum-python-cu11 = "^23.3.0"
[tool.pylint.main]
ignored-modules = ["cupy", "cuquantum", "mpi4py"]