-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* transition to poetry * reformat * drop 3.7, add 3.11 * using new github actions * caching pyproject * install poetry * adding matplotlib dependency * sklearn version update * using poetry install * poetry pytest * key value update * install gdal osx * using pyproject as version source * dependency spec update
- Loading branch information
1 parent
7b90539
commit 15220dc
Showing
17 changed files
with
90 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
include LICENSE | ||
include README.md | ||
include requirements.txt | ||
include pyproject.toml | ||
|
||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""SDM model configuration parameters.""" | ||
|
||
from typing import Tuple, Union | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Custom maxent and typing data types.""" | ||
|
||
from typing import Any, Union | ||
|
||
import geopandas as gpd | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import importlib.metadata | ||
|
||
__version__ = importlib.metadata.version(__package__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[tool.poetry] | ||
name = "elapid" | ||
version = "1.0.2" | ||
description = "Species distribution modeling tools" | ||
authors = ["Christopher Anderson <cbanderson08@gmail.com>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
keywords = ["biogeography", "ecology", "maxent", "SDM", "species distribution modeling"] | ||
include = [ | ||
{ path = "elapid/data/*", format = "sdist" } | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8" | ||
numpy = ">=1.18,<2.0" | ||
pandas = ">=1.0.3" | ||
pyproj = ">3.0" | ||
geopandas = ">=0.7" | ||
rasterio = ">=1.2.1" | ||
tqdm = ">=4.60" | ||
rtree = ">=0.9" | ||
scikit-learn = ">=1.2" | ||
matplotlib = ">=3.7" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
descartes = ">=1.1" | ||
pytest = ">=8.3" | ||
pytest-xdist = ">=3.6" | ||
pytest-cov = ">=5.0" | ||
pre-commit = ">=3.0" | ||
ipython = ">=8.0" | ||
jupyter = ">=1.0" | ||
mkdocs-material = ">=9.5" | ||
mkdocstrings = {extras = ["python"], version = ">=0.25"} | ||
mkdocs-jupyter = ">=0.24" | ||
|
||
[tool.poetry.extras] | ||
glmnet = ["glmnet"] | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file was deleted.
Oops, something went wrong.