Skip to content

Commit

Permalink
build: move to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato committed Feb 6, 2025
1 parent 1510ef6 commit dd1ef64
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 165 deletions.
51 changes: 0 additions & 51 deletions .gitlab-ci.yml

This file was deleted.

25 changes: 0 additions & 25 deletions Makefile

This file was deleted.

78 changes: 78 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,81 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "eodag_cube"
dynamic = ["version"]
description = "Data access for EODAG"
readme = "README.rst"
authors = [
{name = "CS GROUP - France", email = "[email protected]"}
]
license = {text = "Apache 2.0"}
dependencies = [
"eodag >=3.1.0b2",
"numpy",
"rasterio",
"xarray",
"rioxarray",
"h5netcdf",
"netcdf4",
"cfgrib",
"fsspec",
"s3fs",
"aiohttp"
]
requires-python = ">= 3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: GIS"
]

[project.urls]
Repository = "https://github.com/CS-SI/eodag-cube"

[project.optional-dependencies]
dev = [
"flake8",
"isort",
"pre-commit",
"pytest",
"pytest-cov",
"tox",
"tox-uv",
"nose",
"faker",
"coverage",
"moto >=5",
"responses <0.24.0",
"twine",
"wheel",
"mypy",
"types-requests",
"types-shapely",
"boto3-stubs[essential]"
]

[tool.setuptools]
packages = ["eodag_cube"]

[tool.setuptools.package-data]
eodag_cube = ["py.typed"]

[tool.setuptools.dynamic]
version = {attr = "eodag_cube.__version__"}

[[tool.mypy.overrides]]
module = [
"fsspec",
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

8 changes: 0 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,3 @@ select = D1
add_ignore = D107,D100,D105
# Don't require docstrings for tests or setup
match = (?!test|setup).*\.py

[mypy]
[mypy-boto3.*]
ignore_missing_imports = True
[mypy-rasterio.*]
ignore_missing_imports = True
[mypy-shapely.*]
ignore_missing_imports = True
78 changes: 0 additions & 78 deletions setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ python =
[testenv]
install_command = uv pip install --upgrade {opts} {packages}
deps =
-r{toxinidir}/requirements-dev.txt
.[dev]
commands =
pytest --show-capture=no --cov --cov-fail-under=50

Expand Down

0 comments on commit dd1ef64

Please sign in to comment.