Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
176 lines (169 loc) · 5.29 KB
/
Copy pathpyproject.toml
File metadata and controls
176 lines (169 loc) · 5.29 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "ridgeplot"
description = "Beautiful ridgeline plots in python"
dynamic = ["version"]
authors = [
{ name = "Tomas Pereira de Vasconcelos" }
]
maintainers = [
{ name = "Tomas Pereira de Vasconcelos", email = "tomasvasconcelos1@gmail.com" }
]
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
# https://pypi.org/classifiers/
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Visualization",
"Typing :: Typed",
]
keywords = [
"ridgeline", "ridgeplot", "joyplot", "ggridges", "ridges", "ridge", "plot", "plotting", "distplot", "plotly", "data-visualization", "visualization", "data-science", "statistics", "ggplot"
]
requires-python = ">=3.10"
dependencies = [
"numpy>=1",
"plotly>=5.20", # The `fillgradient` option was added in 5.20
"statsmodels>=0.12,!=0.14.2", # See GH197 for details
"typing-extensions",
]
[project.urls]
Homepage = "https://github.com/tpvasconcelos/ridgeplot"
Documentation = "https://ridgeplot.readthedocs.io/en/stable/"
"Source code" = "https://github.com/tpvasconcelos/ridgeplot"
"Issue Tracker" = "https://github.com/tpvasconcelos/ridgeplot/issues"
Changelog = "https://ridgeplot.readthedocs.io/en/stable/reference/changelog.html"
# Development dependencies (PEP 735 dependency groups)
# These are not included in the built distributions and can be
# installed with e.g. `uv pip install --group local-dev`
[dependency-groups]
cicd_utils = [
# ./cicd_utils/ridgeplot_examples/_base.py
"minify-html",
# TODO: unpin after 1.0.0 (https://github.com/plotly/Kaleido/issues/226)
# NOTE: 0.2.1.post1 is excluded because it only ships a
# manylinux2014_armv7l wheel, which breaks universal
# (multi-platform) resolution with `uv sync`/`uv lock`
"kaleido<0.4,!=0.2.1.post1",
# ./cicd_utils/cicd/scripts/extract_latest_release_notes.py
"markdown-it-py",
"mdit-py-plugins",
"mdformat",
"mdformat-footnote",
]
tests = [
# pytest and plugins
# (pytest>=9 is needed for the `strict` config option set in pytest.ini)
"pytest>=9",
"pytest-icdiff",
"pytest-socket",
# Coverage
"diff-cover",
"pytest-cov",
# `cicd_utils` requirements also need to be
# installed in order to test these utilities
{ include-group = "cicd_utils" },
]
docs = [
# Depends on `cicd_utils`
{ include-group = "cicd_utils" },
# Sphinx dependencies
"furo",
"jinja2",
"myst-parser>=0.19.0",
"sphinx",
"sphinx-autobuild",
"sphinx-autodoc-typehints",
"sphinx-copybutton",
"sphinx-inline-tabs",
"sphinx-notfound-page",
"sphinx-paramlinks",
"sphinx-remove-toctrees",
"sphinx-sitemap",
"sphinx-togglebutton",
"sphinx-toolbox",
"sphinx_design",
"sphinx_thebe",
"sphinxcontrib-apidoc",
"sphinxext-opengraph",
# matplotlib is used to generate social cards
"matplotlib",
# Cleanup generated files
"pre_commit_hooks",
]
typing = [
# pyright
"pyright",
# Third-party stubs
"types-python-dateutil",
"types-pytz",
"types-PyYAML",
"types-requests",
"types-tqdm",
"pandas-stubs",
# These seem to bring more problems than they solve for now... 👇
# "plotly-stubs",
# pyright also needs to inherit other environment dependencies in
# order to correctly infer types for code in tests, docs, etc.
{ include-group = "cicd_utils" },
{ include-group = "docs" },
{ include-group = "tests" },
]
local-dev = [
# build dependencies
"setuptools>=64",
"setuptools-scm>=8",
# Tox
"tox",
# pre-commit
"pre-commit",
# Releases are still a manual process that
# requires the use of bumpversion locally
"bumpversion",
# Various useful utilities for local development
"ipython",
"pipdeptree",
"ptpython",
# And everything else...
{ include-group = "cicd_utils" },
{ include-group = "docs" },
{ include-group = "typing" },
{ include-group = "tests" },
]
# TODO: Update config based on:
# https://setuptools.pypa.io/en/latest/userguide/datafiles.html#subdirectory-for-data-files
#[tool.setuptools.package-data]
#"ridgeplot.datasets.data" = ["*.csv"]
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.setuptools_scm]
# PyPi does not support _local_ versioning
# and we want to push X.devM to TestPyPi
# on every merge to the `main` branch
local_scheme = "no-local-version"
[tool.check-manifest]
ignore = [
".claude/skills",
".claude/skills/**",
".codex/skills",
".codex/skills/**",
".cursor/skills",
".cursor/skills/**",
]