Skip to content

Commit 8609a11

Browse files
committed
move test dependencies to optional
Signed-off-by: Carlos Gomes <[email protected]>
1 parent 0563d61 commit 8609a11

File tree

4 files changed

+6
-22
lines changed

4 files changed

+6
-22
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ If you prefer to get the most recent version of the main branch, install the lib
2121

2222
TerraTorch requires gdal to be installed, which can be quite a complex process. If you don't have GDAL set up on your system, we reccomend using a conda environment and installing it with `conda install -c conda-forge gdal`.
2323

24-
To install as a developer (e.g. to extend the library) clone this repo, install dependencies using `pip install -r requirements.txt` and run `pip install -e .`
24+
To install as a developer (e.g. to extend the library) clone this repo, install dependencies using `pip install -r requirements/required.txt -r requirements/dev.txt` and run `pip install -e .`
2525

2626
## Quick start
2727

pyproject.toml

+5-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ classifiers = [
2626
"Programming Language :: Python :: Implementation :: PyPy",
2727
]
2828
dependencies = [
29-
"coverage",
30-
"pytest",
3129
"torch>=2.1.0",
3230
"torchvision>=0.16.0",
3331
"torchgeo>=0.5.1",
@@ -50,6 +48,11 @@ dev = [
5048
"mkdocstrings[python]"
5149
]
5250

51+
test = [
52+
"coverage",
53+
"pytest"
54+
]
55+
5356
[project.urls]
5457
Documentation = "https://github.com/IBM/terratorch#readme"
5558
Issues = "https://github.com/IBM/terratorch/issues"

requirements-dev.txt

-7
This file was deleted.

requirements.txt

-12
This file was deleted.

0 commit comments

Comments
 (0)