Skip to content

Commit

Permalink
Adding pyproject.toml file
Browse files Browse the repository at this point in the history
Based on version from virtual_ship
  • Loading branch information
erikvansebille committed May 2, 2024
1 parent a883bd4 commit bbb351a
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[build-system]
requires = ["setuptools >= 61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
name = "PlasticParcels"
description = "Package for simulating the transport and dispersion of plastics in the ocean"
readme = "README.md"
dynamic = ["version"]
authors = [{ name = "oceanparcels.org team" }]
requires-python = ">=3.8"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Topic :: Education",
"Intended Audience :: Education",
]
dependencies = [
"parcels >= 3.0.2, < 4",
]

[project.urls]
homepage = "https://oceanparcels.org/"
repository = "https://github.com/OceanParcels/PlasticParcels/"
tracker = "https://github.com/OceanParcels/PlasticParcels/issues"

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

[tool.setuptools_scm]
write_to = "plasticparcels/_version_setup.py"
local_scheme = "no-local-version"

[project.optional-dependencies]
dev = [
"black == 24.4.0",
"darglint == 1.8.1",
"flake8 == 7.0.0",
"Flake8-pyproject == 1.2.3",
"isort == 5.13.2",
"pydocstyle == 6.3.0",
"sort-all == 1.2.0",
]

[tool.isort]
profile = "black"
skip_gitignore = true

[tool.flake8]
extend-ignore = "E501" # Don't check line length.
docstring_style = "sphinx" # Use sphinx docstring style for darglint plugin.

0 comments on commit bbb351a

Please sign in to comment.