pyproject.toml

This commit is contained in:
odrling 2024-01-01 17:24:23 +01:00
parent af0ae38156
commit 375a7d3808
No known key found for this signature in database
GPG key ID: E24CA7508C27AF5B
5 changed files with 702 additions and 26 deletions

674
LICENSE Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1 @@
__version__ = "1.5"

27
pyproject.toml Normal file
View file

@ -0,0 +1,27 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hikari"
dynamic = ["version"]
license = {file = "LICENSE"}
dependencies = [
"pyperclip",
"requests",
"requests-toolbelt",
"rich",
"typer",
]
[project.scripts]
hikari = "hikari.hikari:main"
[tool.hatch.version]
path = "hikari/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/hikari",
]

View file

@ -1,5 +0,0 @@
pyperclip
requests
requests-toolbelt
rich
typer

View file

@ -1,21 +0,0 @@
from pathlib import Path
from setuptools import find_packages, setup
req = Path(__file__).parent / "requirements.txt"
with req.open() as f:
install_requires = list(map(str.strip, f))
setup(
name='hikari',
version='1.5',
packages=find_packages(),
include_package_data=True,
install_requires=install_requires,
entry_points="""
[console_scripts]
hikari=hikari.hikari:main
"""
)