File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ include MANIFEST.in
4
4
include README.rst
5
5
include NOTICE
6
6
include CHANGELOG.md
7
- include setup.py
7
+ include pyproject.toml
8
8
recursive-include elasticsearch_serverless* py.typed *.pyi
9
9
recursive-include docs/sphinx *
10
10
Original file line number Diff line number Diff line change 22
22
SOURCE_DIR = os .path .dirname (os .path .abspath (__file__ ))
23
23
SOURCE_FILES = (
24
24
"docs/sphinx/conf.py" ,
25
- "setup.py" ,
26
25
"noxfile.py" ,
27
26
"elasticsearch_serverless/" ,
28
27
"test_elasticsearch_serverless/" ,
29
28
"utils/" ,
29
+ "pyproject.toml" ,
30
30
)
31
31
32
32
Original file line number Diff line number Diff line change @@ -30,6 +30,16 @@ classifiers = [
30
30
" Programming Language :: Python :: 3.10" ,
31
31
" Programming Language :: Python :: 3.11" ,
32
32
]
33
+ keywords = [
34
+ " elasticsearch" ,
35
+ " elastic" ,
36
+ " kibana" ,
37
+ " mapping" ,
38
+ " REST" ,
39
+ " search" ,
40
+ " client" ,
41
+ " index" ,
42
+ ]
33
43
dependencies = [
34
44
" elastic-transport>=8,<9" ,
35
45
]
@@ -49,7 +59,8 @@ Homepage = "https://github.com/elastic/elasticsearch-serverless-python"
49
59
"Source Code" = " https://github.com/elastic/elasticsearch-serverless-python"
50
60
51
61
[tool .hatch .version ]
52
- path = " elasticsearch_serverless/__init__.py"
62
+ path = " elasticsearch_serverless/_version.py"
63
+ pattern = " __versionstr__ = \" (?P<version>[^\" ]+)\" "
53
64
54
65
[tool .hatch .build .targets .sdist ]
55
66
include = [
@@ -58,7 +69,7 @@ include = [
58
69
59
70
[tool .pytest ]
60
71
junit_family = " legacy"
61
- addopts = " -vvv -p no:logging --cov-report=term-missing --cov=elasticsearch --cov-config=.coveragerc "
72
+ addopts = " -vvv -p no:logging --cov-report=term-missing --cov=elasticsearch_serverless --cov-config=.pyproject.toml "
62
73
63
74
[tool .isort ]
64
75
profile = " black"
You can’t perform that action at this time.
0 commit comments