Skip to content

Commit

Permalink
Add pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitryder committed Jan 18, 2024
1 parent 4802e81 commit 77e02e3
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 6 deletions.
44 changes: 44 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "cdtb"
version = "1.0.0"
authors = [
{ name="CDragon team" },
]
description = "A toolbox to work with League of Legends game files"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"requests",
"hachoir",
"xxhash",
"pyzstd",
"Pillow",
"ujson",
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
]

[project.urls]
Homepage = "https://communitydragon.org"
Repository = "https://github.com/CommunityDragon/CDTB"

[project.scripts]
cdtb = "cdtb.__main__:main"

[project.optional-dependencies]
tests = [
"pytest",
"pytest-mock",
]

[tool.hatch.build.targets.sdist]
include = ["/cdtb/*.py"]

[tool.hatch.build.targets.wheel]
packages = ["cdtb"]
6 changes: 0 additions & 6 deletions requirements.txt

This file was deleted.

0 comments on commit 77e02e3

Please sign in to comment.