-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (80 loc) · 2.54 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (80 loc) · 2.54 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
78
79
80
81
82
83
84
85
86
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
# PyPI distribution name. The Python ``import`` name stays ``grid_py``.
# ``grid-py`` / ``grid_py`` / ``grid-python`` are blocked by PyPI's
# similarity guard (too close to the existing ``grid`` project), hence
# the ``rgrid-python`` prefix ("R grid port").
name = "rgrid-python"
# Track the R ``grid`` version 1:1. When we patch the Python port without
# a corresponding R update, bump a PEP 440 post-release suffix:
# "4.5.3" → "4.5.3.post1" → "4.5.3.post2" → ...
# When R grid itself ships a new upstream version, move to e.g. "4.5.4".
version = "4.5.3.post6"
description = "Python port of the R grid package (tracks R grid 4.5.3)"
readme = "README.md"
requires-python = ">=3.10"
license = "Artistic-2.0"
license-files = ["LICENSE"]
authors = [
{ name = "Jeffery Liu", email = "jeffliu.lucky@gmail.com" },
]
keywords = [
"grid",
"graphics",
"ggplot2",
"R-port",
"scientific-visualization",
"visualization",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: Artistic License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Multimedia :: Graphics",
"Typing :: Typed",
]
dependencies = [
"numpy>=1.24",
"pycairo>=1.20",
]
[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "ruff", "build", "twine"]
docs = [
"mkdocs",
"mkdocstrings[python]",
"mkdocs-material",
"mkdocs-jupyter",
]
[project.urls]
Homepage = "https://github.com/Bio-Babel/grid_py"
Repository = "https://github.com/Bio-Babel/grid_py"
Issues = "https://github.com/Bio-Babel/grid_py/issues"
Documentation = "https://github.com/Bio-Babel/grid_py#readme"
[tool.hatch.build.targets.wheel]
# Only the importable package goes into the wheel; no tutorials, docs, tests.
packages = ["grid_py"]
[tool.hatch.build.targets.sdist]
# sdist includes everything by default; explicitly drop the large / build-time
# directories that users of ``pip install grid-py`` do not need.
exclude = [
"tutorials/",
"docs/",
"tests/",
"mkdocs.yml",
".github/",
"*.egg-info/",
"build/",
"dist/",
]
[tool.pytest.ini_options]
testpaths = ["tests"]