Skip to content

Commit c9ef179

Browse files
committed
Create pyproject.toml
1 parent 5d042e7 commit c9ef179

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

pyproject.toml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[build-system]
2+
requires = ["setuptools>=69", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name="nbstata"
7+
version = "0.8.3.dev0"
8+
description = "A Jupyter kernel for Stata built on pystata"
9+
readme = "README.md"
10+
requires-python=">=3.10"
11+
license = { text = "GPL-3.0-only" }
12+
authors = [{ name = "Tim Huegerich" }]
13+
classifiers = [
14+
"Programming Language :: Python :: 3",
15+
"Programming Language :: Python :: 3 :: Only",
16+
"Programming Language :: Python :: 3.10",
17+
"Programming Language :: Python :: 3.11",
18+
"Programming Language :: Python :: 3.12",
19+
"Programming Language :: Python :: 3.13",
20+
"Programming Language :: Python :: 3.14",
21+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
22+
]
23+
# Keep runtime deps minimal; pystata is provided by Stata itself.
24+
dependencies = [
25+
"bs4>=0.0.2",
26+
"fastcore>=1.8.13",
27+
"ipykernel>=6",
28+
"jupyter-client>=7",
29+
"nbclient>=0.10.2",
30+
"nbformat>=5.10.4",
31+
"numpy>=2.2.6",
32+
"packaging>=23", # for Version parsing (instead of distutils/pkg_resources)
33+
"pyyaml>=6.0.2",
34+
]
35+
36+
[project.scripts]
37+
# Mirrors the documented CLI usage: python -m nbstata.install
38+
nbstata-install = "nbstata.install:main"
39+
40+
[tool.setuptools]
41+
include-package-data = true
42+
packages = { find = { where = ["."], include = ["nbstata*"] } }
43+
44+
# If you ship any data files within the package tree, ensure they're included.
45+
# You already have MANIFEST.in; include-package-data keeps wheels aligned.
46+
47+
[tool.pytest.ini_options]
48+
minversion = "7.0"
49+
addopts = "-q"
50+
testpaths = ["nbs"]
51+
52+
[dependency-groups]
53+
dev = [
54+
"nbdev>=2.4.6",
55+
]

0 commit comments

Comments
 (0)