Use rye to manage Python

This commit is contained in:
2024-06-14 21:30:45 +03:00
parent 2734dcc65f
commit 2634f46054
5 changed files with 725 additions and 32 deletions

34
pyproject.toml Normal file
View File

@@ -0,0 +1,34 @@
[project]
name = "safari-bingo-cards"
version = "0.1.0"
description = "Generate random wildlife bingo cards for safaris with data from Wikipedia."
authors = [
{ name = "Alan Orth", email = "alan.orth@gmail.com" }
]
license= { file = "LICENSE" }
dependencies = [
"colorama~=0.4.6",
"pandas~=2.2.2",
"requests~=2.32.3",
"pyvips~=2.2.3",
]
readme = "README.md"
requires-python = ">= 3.10"
[project.scripts]
generate = "safari_bingo_cards:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
virtual = true
managed = true
dev-dependencies = [
"isort~=5.13.2",
"ipython~=8.25.0",
]
[tool.hatch.metadata]
allow-direct-references = true