diff options
| author | 2024-02-28 11:37:54 +0800 | |
|---|---|---|
| committer | 2024-02-28 11:37:54 +0800 | |
| commit | 672e0d03d3ffdba740d166f2c4a7243f142cec5f (patch) | |
| tree | 46cdb4ea015877e7828710a47c945aa2e834beb0 /pyproject.toml | |
| parent | fc6fc64ca3ff7df62dd270fc021f674e56b2dedf (diff) | |
| download | TRPGNivis-672e0d03d3ffdba740d166f2c4a7243f142cec5f.tar.gz TRPGNivis-672e0d03d3ffdba740d166f2c4a7243f142cec5f.zip | |
refactor!: built in rust
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 26 |
1 files changed, 16 insertions, 10 deletions
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 |
