Skip to content

Commit 91b2ae2

Browse files
authored
build: add MANIFEST.in and update pyproject.toml (#23)
update pyproject.toml and add MANIFEST.in to package hashprep for PyPI
1 parent c3fe60f commit 91b2ae2

2 files changed

Lines changed: 35 additions & 2 deletions

File tree

MANIFEST.in

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
include README.md LICENSE
2+
recursive-include hashprep *.py
3+
4+
prune datasets
5+
prune examples
6+
prune tests
7+
prune docs
8+
prune web
9+
prune scripts
10+
exclude *.pyc
11+
exclude __pycache__/*
12+
exclude test.json
13+
exclude todo.md

pyproject.toml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0"]
3+
build-backend = "setuptools.build_meta"
4+
15
[project]
26
name = "hashprep"
3-
version = "0.1.0"
4-
description = "Add your description here"
7+
description = "A library for dataset quality checks, preprocessing, and report generation"
58
readme = "README.md"
69
requires-python = ">=3.10"
10+
license = { file = "LICENSE" }
11+
12+
authors = [
13+
{ name = "Aftaab Siddiqui (MaskedSyntax)", email = "[email protected]"}
14+
]
15+
716
dependencies = [
817
"click>=8.3.0",
918
"fastapi>=0.116.1",
@@ -17,6 +26,17 @@ dependencies = [
1726
"weasyprint>=66.0",
1827
]
1928

29+
dynamic = ["version"]
30+
31+
[tool.setuptools.dynamic]
32+
version = { attr = "hashprep.__version__" }
33+
34+
[project.urls]
35+
Homepage = "https://github.com/cachevector/hashprep"
36+
Repository = "https://github.com/cachevector/hashprep"
37+
Documentation = "https://github.com/cachevector/hashprep"
38+
Issues = "https://github.com/cachevector/hashprep/issues"
39+
2040
[tool.setuptools.packages.find]
2141
include = ["hashprep*"]
2242

0 commit comments

Comments
 (0)