Skip to content

Commit d1eda31

Browse files
authored
Merge pull request #186 from falconstryker/devel
Dependency fixes
2 parents 9621eb4 + 35f3594 commit d1eda31

4 files changed

Lines changed: 22 additions & 63 deletions

File tree

.readthedocs.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version: 2
88
build:
99
os: ubuntu-22.04
1010
tools:
11-
python: "3.9"
11+
python: "3.11"
1212
# You can also specify other tool versions:
1313
# nodejs: "19"
1414
# rust: "1.64"
@@ -24,9 +24,13 @@ sphinx:
2424
# - pdf
2525
# - epub
2626

27-
# Optional but recommended, declare the Python requirements required
28-
# to build your documentation
29-
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
27+
# Install the package and its dev/doc dependencies from pyproject.toml
3028
python:
31-
install:
32-
- requirements: docs/requirements.txt
29+
install:
30+
- method: pip
31+
path: .
32+
extra_requirements:
33+
- docs
34+
35+
# install dev version with:
36+
# pip install -e ".[dev,docs]"

docs/requirements.txt

Lines changed: 0 additions & 39 deletions
This file was deleted.

pyproject.toml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=61.0"]
2+
requires = ["setuptools>=78.1.1"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -27,11 +27,21 @@ dependencies = [
2727

2828
[project.optional-dependencies]
2929
spectral = ["pyshtools>=4.10.0"]
30-
dev = [
30+
docs = [
3131
"sphinx>=7.2.6",
3232
"sphinx-rtd-theme>=1.3.0rc1",
3333
"sphinx-autoapi>=3.0.0",
3434
]
35+
dev = [
36+
"pytest>=7.0",
37+
"pytest-cov>=3.0",
38+
"tox>=3.24",
39+
"black>=22.0",
40+
"isort>=5.10",
41+
"flake8>=4.0",
42+
"mypy>=0.950",
43+
"pre-commit>=2.17",
44+
]
3545

3646
[project.scripts]
3747
cap = "amescap.cli:main"

requirements/dev.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)