Skip to content

Commit

Permalink
Merge pull request #79 from theislab/adamgayoso-patch-1
Browse files Browse the repository at this point in the history
Poetry build system update
  • Loading branch information
adamgayoso authored Apr 17, 2023
2 parents 3eab86a + c4f14df commit 0608477
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ version = "2.1.1"
adjustText = "*"
anndata = ">=0.7.5"
black = {version = ">=20.8b1", optional = true}
codecov = {version = ">=2.0.8", optional = true}
flake8 = {version = ">=3.7.7", optional = true}
importlib-metadata = {version = "^1.0", python = "<3.8"}
ipython = {version = ">=7.1.1", optional = true}
Expand Down Expand Up @@ -62,7 +61,7 @@ sphinx-material = {version = "*", optional = true}
typing_extensions = {version = "*", python = "<3.8"}

[tool.poetry.extras]
dev = ["black", "pytest", "flake8", "codecov", "loompy", "jupyter", "nbformat", "nbconvert", "pre-commit", "isort"]
dev = ["black", "pytest", "flake8", "loompy", "jupyter", "nbformat", "nbconvert", "pre-commit", "isort"]
docs = [
"sphinx",
"scanpydoc",
Expand All @@ -79,8 +78,7 @@ tutorials = ["leidenalg", "python-igraph", "loompy", "scikit-misc"]
[tool.poetry.dev-dependencies]

[build-system]
build-backend = "poetry.masonry.api"
requires = [
"poetry>=1.0",
"setuptools", # keep it here or "pip install -e" would fail
"poetry-core>=1.0.0",
]
build-backend = "poetry.core.masonry.api"
5 changes: 3 additions & 2 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
version: 2
build:
image: latest
os: ubuntu-20.04
tools:
python: "3.10"
sphinx:
configuration: docs/conf.py
python:
version: 3.10
install:
- method: pip
path: .
Expand Down

0 comments on commit 0608477

Please sign in to comment.