Skip to content

Commit

Permalink
move test dependencies to optional
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Gomes <[email protected]>
  • Loading branch information
CarlosGomes98 committed Jul 2, 2024
1 parent 0563d61 commit 8609a11
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ If you prefer to get the most recent version of the main branch, install the lib

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`.

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 .`
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 .`

## Quick start

Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ classifiers = [
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"coverage",
"pytest",
"torch>=2.1.0",
"torchvision>=0.16.0",
"torchgeo>=0.5.1",
Expand All @@ -50,6 +48,11 @@ dev = [
"mkdocstrings[python]"
]

test = [
"coverage",
"pytest"
]

[project.urls]
Documentation = "https://github.com/IBM/terratorch#readme"
Issues = "https://github.com/IBM/terratorch/issues"
Expand Down
7 changes: 0 additions & 7 deletions requirements-dev.txt

This file was deleted.

12 changes: 0 additions & 12 deletions requirements.txt

This file was deleted.

0 comments on commit 8609a11

Please sign in to comment.