-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (73 loc) · 3.25 KB
/
pyproject.toml
File metadata and controls
77 lines (73 loc) · 3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[build-system]
requires = [
"setuptools>=61.0.0", # setuptools 61.0 fully embraces 'pyproject.toml' configuration
"setuptools-scm" # when installed it automatically includes all git-tracked files into our source distribution
]
build-backend = "setuptools.build_meta"
[project]
name = "pybacktrack"
dynamic = ["version"]
description = "A tool for reconstructing paleobathymetry on oceanic and continental crust."
readme = "README.rst"
authors = [{ name = "John Cannon", email = "john.cannon@sydney.edu.au" }]
# TODO: Uncomment these two license lines when Python 3.8 is no longer our min. requirement.
# And also remove "License ::" from 'classifiers' (replaced by updated 'license' field).
# This requires Python >=3.9 (setuptools >=77.0).
# Until then we will get the warning "License classifiers are deprecated".
#
#license = "GPL-2.0-only"
#license-files = ["LICENSE"]
requires-python = ">=3.8"
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
]
keywords = ["bathymetry", "backtrack", "backstrip", "rift", "subsidence", "tectonic"]
dependencies = [
"numpy",
"scipy",
"pygplates",
# Support for accessing *namespace* packages only added in Python 3.10 (to 'importlib.resources').
# For Python <3.10 must instead use backport PyPI package 'importlib_resources'.
"importlib_resources;python_version<'3.10'"
]
urls.Homepage = "https://github.com/EarthByte/pyBacktrack"
urls.Documentation = "http://pybacktrack.readthedocs.io"
optional-dependencies.dev = [
# Used by supplementary script 'generate_rift_grids.py'.
# Alternatively can use "PlateTectonicTools" (which is no longer developed, and now contained within "gplately").
"gplately",
"pytest",
"Sphinx>=1.8",
"sphinx-rtd-theme"
]
[tool.setuptools]
# Help setuptools to look only at the 'pybacktrack' package (so doesn't think other top-level dirs are packages).
packages.find.include = ["pybacktrack*"]
# Ensure embedded *data* folders are found (they look like namespace packages, ie, no '__init__.py' in folder).
packages.find.namespaces = true
# Include package data in the *wheel*.
#
# "setuptools-scm" and 'MANIFEST.in' determine what data files go in the *sdist*.
# And "include-package-data=true" also includes them in the *wheel*,
# but only those *inside* the package directory tree ('pybacktrack*') by default.
#
# Note: "setuptools-scm" restricts to git-tracked files.
# 'MANIFEST.in' excludes some git-tracked files included by "setuptools-scm".
include-package-data = true
# Load the 'pybacktrack.version' module and get its '__version__' attribute.
dynamic.version = {attr = "pybacktrack.version.__version__"}
[tool.setuptools_scm]
# This section must be present (even if empty) for setuptools-scm <8.1.
[tool.pytest.ini_options]
testpaths = ["tests"]