forked from Kanaries/pygwalker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
88 lines (79 loc) · 2.32 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
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
[project]
name = "pygwalker"
dynamic = ["version"]
requires-python = ">=3.6"
description = "pygwalker: Combining Jupyter Notebook with a Tableau-like UI"
authors = [ { name = "Asm.Def", email = "[email protected]" } ]
license-files = { paths = ["LICENSE"] }
readme = "README.md"
keywords = [ 'visualization', 'pandas', 'data-analysis', 'tableau', 'data-exploration', 'dataframe', 'tableau-alternative', 'jupyter' ]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
"jinja2",
"ipython",
"typing_extensions; python_version <= '3.7'",
"aiohttp>=3.0.0; platform_machine != 'wasm32'",
]
[project.urls]
homepage = "https://github.com/Kanaries/pygwalker"
repository = "https://github.com/Kanaries/pygwalker"
# changelog, documentation
[project.optional-dependencies]
pandas = ["pandas"]
polars = ["polars"]
streamlit = ["streamlit"]
all = [
"pygwalker[pandas,polars,streamlit]",
]
dev = [
"build",
"twine",
]
[project.scripts]
pygwalker = "pygwalker.__main__:main"
[tool.hatch]
# metadata = { allow-direct-references = true }
version = { path = "pygwalker/__version__.py" }
[tool.hatch.build]
include = [
"README.md", "LICENSE",
"pygwalker",
"pygwalker/templates/**",
"pygwalker/templates/**/*",
"scripts",
]
exclude = [ "/graphic-walker", "/tests" ]
artifacts = [ "pygwalker/templates/*" ]
[tool.hatch.build.hooks.jupyter-builder]
dependencies = ["hatch-jupyter-builder"]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = ["pygwalker/templates/dist/pygwalker-app.iife.js"]
skip-if-exists = ["pygwalker/templates/dist/pygwalker-app.iife.js"]
# install-pre-commit-hook = true
optional-editable-build = true
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
path = "app"
build_dir = "./build"
build_cmd = "build"
[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
path = "app"
build_dir = "./build"
build_cmd = "dev"
[tool.hatch.build.targets.wheel]
# force-include =
shared-data = { "pygwalker/utils/defaults.json" = "etc/pygwalker/config.json" }
[tool.hatch.build.targets.sdist]
include = [
"README.md", "LICENSE",
"app",
"pygwalker",
"pygwalker/templates/**",
"pygwalker/templates/**/*",
"scripts",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"