-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
54 lines (47 loc) · 1.87 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# ##############################################################################
# PEP 518 [build-system] table
#
# We are using setuptools as the build backend, not poetry, flit, or etc.
#
# - https://setuptools.pypa.io/en/latest/index.html
# - https://peps.python.org/pep-0518/#build-system-table
# ##############################################################################
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
# ##############################################################################
# PEP 621 [project] table
# - https://peps.python.org/pep-0621/
# - https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
# ##############################################################################
# Basic package info
[project]
name = "hip-attention" # Name of package when installed using pip
version = "0.1.0"
description = "HiP Attention"
requires-python = ">=3.10"
dynamic = ["dependencies", "optional-dependencies"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.setuptools.dynamic.optional-dependencies]
dev = {file = ["requirements.dev.txt"]}
no_build_iso = {file = ["requirements.no_build_iso.txt"]}
vllm = {file = ["requirements.vllm.txt"]}
openai = {file = ["requirements.openai.txt"]}
# ##############################################################################
# PEP 518 [tool] table
# - https://peps.python.org/pep-0518/#tool-table
# ##############################################################################
# We use src-layout
# - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
[tool.setuptools.packages]
[tool.setuptools.packages.find]
include = ["hip*"]
namespaces = false
# Add package data
# - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[tool.setuptools.package-data]
"*" = [
# required by mypy
"py.typed",
]