-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (62 loc) · 1.89 KB
/
pyproject.toml
File metadata and controls
69 lines (62 loc) · 1.89 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
[project]
name = "python-project-template"
license = "BSD-3-Clause"
license-files = ["LICENSE", "CITATION.bib"]
readme = "README.md"
authors = [
{ name = "LINCC Frameworks", email = "lincc-frameworks-team@lists.lsst.org" }
]
description = "LINCC-Framework's best practices for python code organization, testing, documentation, and automation."
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
]
dynamic = ["version"]
requires-python = ">=3.9"
dependencies = [
"setuptools_scm",
"pyyaml-include<3.0",
]
[project.urls]
"Source Code" = "https://github.com/lincc-frameworks/python-project-template"
# On a mac, install optional dependencies with `pip install '.[dev]'` (include the single quotes)
[project.optional-dependencies]
dev = [
"black", # Used to format code
"pre-commit", # Used to run checks prior to committing code
"pytest", # Used to run tests
"pytest-cov", # Used to measure test coverage
"pylint", # test pylint in unit tests
"pytest-copie", # Used to create hydrated copier projects for testing
"tox", # Used to run tests in multiple environments
## Dependencies that are needed to test hydrated projects:
"ipykernel",
"ipython",
"jupyter",
"jupytext",
"mypy",
"nbconvert",
"nbsphinx",
"pre-commit",
"ruff",
"sphinx",
"sphinx-autoapi",
"sphinx-copybutton",
"sphinx-rtd-theme>=3.0",
]
[build-system]
requires = [
"setuptools>=62", # Used to build and package the Python project
"setuptools_scm>=6.2", # Gets release version from git. Makes it available programmatically
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "_version.py"
[tool.black]
line-length = 110
[tool.isort]
profile = "black"
line_length = 110