Skip to content

Commit

Permalink
add initial pyproject.toml
Browse files Browse the repository at this point in the history
Rough with holes to fill. May not cover all dependencies.
  • Loading branch information
raehik committed Feb 21, 2023
1 parent 28f9216 commit 0ad322a
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[build-system]
requires = ["setuptools >= 61"]
build-backend = "setuptools.build_meta"

[project]
name = "gz_ocean_momentum"
version = "0.0.0" # TODO
description = "TODO"
authors = [
{ name="TODO", email="[email protected]" },
]
readme = "README.md"
#license = {file = "LICENSE"} # TODO
requires-python = ">=3.9" # TODO from Arthur's pyproject.toml
classifiers = [
"Programming Language :: Python :: 3",
# TODO more -- where to find these?
]
dependencies = [
"xarray>=2023.2.0",
"mlflow-skinny>=2.1.1",
"dask>=2023.1.1",
"intake>=0.6.6",
"requests>=2.28.2",
"aiohttp>=3.8.3",
"intake-xarray>=0.6.1",
"gcsfs>=2023.1.0",
"torch>=1.13.1",
"progressbar>=2.5"
]

[project.urls]
# TODO these may change
"Homepage" = "https://github.com/m2lines/GZ-ocean-momentum"
"Bug Tracker" = "https://github.com/m2lines/GZ-ocean-momentum/issues"

[project.optional-dependencies]
TEST = ["pytest"]

[tool.setuptools]
# By default, include-package-data is true in pyproject.toml, so you do
# NOT have to specify this line.
include-package-data = true

#[tool.setuptools.packages]
#find = {}
[tool.setuptools.packages.find]
where = ["."] # list of folders that contain the packages (["."] by default)
include = ["gz_ocean_momentum", "gz_ocean_momentum.*"] # package names should match these glob patterns (["*"] by default)
#exclude = ["gz_ocean_momentum.tests*", "examples.py"] # exclude packages matching these glob patterns (empty by default)
namespaces = false # to disable scanning PEP 420 namespaces (true by default)

0 comments on commit 0ad322a

Please sign in to comment.