From 672e0d03d3ffdba740d166f2c4a7243f142cec5f Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Wed, 28 Feb 2024 11:37:54 +0800 Subject: refactor!: built in rust --- pyproject.toml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index e068ce2..4d4ffc9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,26 @@ +[build-system] +requires = ["maturin>=1.4,<2.0"] +build-backend = "maturin" + [project] -name = "nivis" -version = "0.1.1a1" +name = "nivis-python" +dynamic = ["version"] description = "Python implementation for Nivis." authors = [{ name = "简律纯", email = "i@jyunko.cn" }] -dependencies = ["ply>=3.11"] +dependencies = [ + "ply>=3.11", + "pip>=24.0", +] requires-python = ">=3.11" readme = "README.rst" license = { text = "MIT" } +[project.urls] +homepage = "https://xn--tdi.hydroroll.team/" +repository = "https://github.com/HydroRoll-Team/nivis-python" +documentation = "https://nivis.hydroroll.team/" + + [tool.pdm.dev-dependencies] docs = [ "furo>=2024.1.29", @@ -84,10 +97,3 @@ skip-magic-trailing-comma = false # Like Black, automatically detect the appropriate line ending. line-ending = "auto" - -[tool.hatch.build.targets.sdist] -include = ["/README.rst", "/nivis"] - -[build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" \ No newline at end of file -- cgit v1.2.3-70-g09d2