-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
62 lines (54 loc) · 1.76 KB
/
pyproject.toml
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
# This is where you can list information about your package.
[project]
name="splinx"
authors = [
{name="Jamison Moody", email="[email protected]"},
]
description = "A jax implementation of B-splines."
readme = "README.md"
requires-python = ">=3.11"
license = { file = "LICENSE.txt" }
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
]
# This is where you can list the required dependencies for your package.
# Use the names you would use if pip installing them from the command line.
dependencies = [
"jax",
"numpy",
"scipy",
"matplotlib",
]
dynamic = [
"version",
]
# This is where you can list optional dependencies for your package.
# You can install these by running `pip install example_package[...]`
# where [...] has the name of the optional dependency.
[project.optional-dependencies]
# You can install the `dev` dependencies by running
# `pip install -e "example_package[dev]"`.
# If you are in the folder cloned from GitHub, you can run
# `pip install -e ".[dev]"`.
dev = [
"torch",
"pytest",
"ruff",
"pyright",
"mkdocs-material", # Material for MkDocs.
"mkdocstrings[python]", # Material for MkDocs.
]
# This is where you can tell pip to ignore certain folders.
# This is useful if you have folders at the top level that
# are not part of the package.
[tool.setuptools.packages.find]
include = ["splinx*"]
exclude = ["docs*", "tests*"]
[build-system]
# AVOID CHANGING REQUIRES: IT WILL BE UPDATED BY PYSCAFFOLD!
requires = ["setuptools>=46.1.0", "setuptools_scm[toml]>=5"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# For smarter version schemes and other configuration options,
# check out https://github.com/pypa/setuptools_scm
version_scheme = "no-guess-dev"