Skip to content

Commit 9501d8c

Browse files
committed
Add a pyproject.toml
Using Hatch https://hatch.pypa.io/
1 parent 4456a12 commit 9501d8c

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

pyproject.toml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "elasticsearch-serverless"
7+
dynamic = ["version"]
8+
description = "Python client for Elasticsearch Serverless"
9+
readme = "README.rst"
10+
license = "Apache-2.0"
11+
requires-python = ">=3.7, <4"
12+
authors = [
13+
{ name = "Elastic Clients Team", email = "clients-team@elastic.co" },
14+
]
15+
maintainers = [
16+
{ name = "Elastic Clients Team", email = "clients-team@elastic.co" },
17+
]
18+
classifiers = [
19+
"Development Status :: 5 - Production/Stable",
20+
"Intended Audience :: Developers",
21+
"License :: OSI Approved :: Apache Software License",
22+
"Operating System :: OS Independent",
23+
"Programming Language :: Python",
24+
"Programming Language :: Python :: 3",
25+
"Programming Language :: Python :: 3.7",
26+
"Programming Language :: Python :: 3.8",
27+
"Programming Language :: Python :: 3.9",
28+
"Programming Language :: Python :: Implementation :: CPython",
29+
"Programming Language :: Python :: Implementation :: PyPy",
30+
"Programming Language :: Python :: 3.10",
31+
"Programming Language :: Python :: 3.11",
32+
]
33+
dependencies = [
34+
"elastic-transport>=8,<9",
35+
]
36+
37+
[project.optional-dependencies]
38+
async = [
39+
"aiohttp>=3,<4",
40+
]
41+
requests = [
42+
"requests>=2.4.0, <3.0.0",
43+
]
44+
45+
[project.urls]
46+
Documentation = "https://elasticsearch-serverless-python.readthedocs.io"
47+
Homepage = "https://github.com/elastic/elasticsearch-serverless-python"
48+
"Issue Tracker" = "https://github.com/elastic/elasticsearch-serverless-python/issues"
49+
"Source Code" = "https://github.com/elastic/elasticsearch-serverless-python"
50+
51+
[tool.hatch.version]
52+
path = "elasticsearch_serverless/__init__.py"
53+
54+
[tool.hatch.build.targets.sdist]
55+
include = [
56+
"/elasticsearch_serverless",
57+
]

0 commit comments

Comments
 (0)