Move to hatch based build

This commit is contained in:
Jan Petykiewicz 2022-08-18 23:01:59 -07:00
commit 2700977a76
7 changed files with 53 additions and 63 deletions

48
pyproject.toml Normal file
View file

@ -0,0 +1,48 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lethe"
description = "Lithography mask library"
readme = "README.md"
license = { file = "LICENSE.md" }
authors = [
{ name="Jan Petykiewicz", email="jan@mpxd.net" },
]
homepage = "https://mpxd.net/code/jan/lethe"
repository = "https://mpxd.net/code/jan/lethe"
keywords = [
"git",
"snapshot",
"commit",
"refs",
"backup",
"undo",
"log",
"lab notebook",
"traceability",
]
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Topic :: Software Development :: Version Control :: Git",
"Topic :: Utilities",
]
requires-python = ">=3.8"
dynamic = ["version"]
dependencies = [
]
[tool.hatch.version]
path = "lethe/__init__.py"
[project.scripts]
lethe = "lethe.endpoints:main"
lethe-push = "lethe.endpoints:push"
lethe-fetch = "lethe.endpoints:fetch"