-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (66 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
75 lines (66 loc) · 1.68 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
[build-system]
requires = ["flit_core>=3.9"]
build-backend = "flit_core.buildapi"
[project]
name = "ptspy"
authors = [
{name = "William Ngan"},
]
description = "Pts.py is a Python library for visual composability, creative coding, and generative graphics."
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.10"
# update version in __init__.py
dynamic = ["version"]
keywords = ["creative-coding", "visualization", "graphics", "skia", "glfw", "pts"]
dependencies = [
"skia-python>=138.0",
"numpy>=1.25.2",
]
[project.optional-dependencies]
dev = [
"build",
"twine",
"pyright",
"ruff",
"pytest",
"pytest-asyncio",
"pytest-benchmark",
"ipykernel",
"ipywidgets",
"mediapy",
"notebook",
]
opengl = [
"glfw>=2.0.0",
"PyOpenGL>=3.1.0",
]
[project.urls]
Homepage = "https://ptspy.org"
Documentation = "https://ptspy.org/docs"
Source = "https://github.com/williamngan/ptspy"
Tracker = "https://github.com/williamngan/ptspy/issues"
Changelog = "https://github.com/williamngan/ptspy/releases"
[tool.flit.sdist]
include = ["src/"]
exclude = ["notebooks/", "pyscript/", ".github/", ".vscode/"]
[tool.flit.module]
name = "ptspy"
paths = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
ignore = ["E741"]