pyproject.toml
This commit is contained in:
parent
af0ae38156
commit
375a7d3808
|
@ -0,0 +1 @@
|
|||
__version__ = "1.5"
|
27
pyproject.toml
Normal file
27
pyproject.toml
Normal 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",
|
||||
]
|
|
@ -1,5 +0,0 @@
|
|||
pyperclip
|
||||
requests
|
||||
requests-toolbelt
|
||||
rich
|
||||
typer
|
21
setup.py
21
setup.py
|
@ -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
|
||||
"""
|
||||
)
|
Loading…
Reference in a new issue