Skip to content

Commit 18ce725

Browse files
committed
Merge remote-tracking branch 'origin/master' into adhoc/eliskovets/allow-to-pass-verify-parameter-into-api-client
2 parents 69ae183 + c164d1f commit 18ce725

29 files changed

Lines changed: 39 additions & 22 deletions

publish.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env bash
22
rm -rf dist/*
3-
python3 setup.py sdist
4-
python3 setup.py bdist_wheel --universal
3+
python3 -m build
54
twine upload dist/*

pyproject.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "typesense"
7+
description = "Python client for Typesense, an open source and typo tolerant search engine."
8+
authors = [
9+
{"name" = "Typesense", "email" = "contact@typesense.org"},
10+
]
11+
readme = "README.md"
12+
requires-python = ">=3"
13+
keywords = ["search", "typesense"]
14+
license = {"text" = "Apache 2.0"}
15+
classifiers = [
16+
"Development Status :: 5 - Production/Stable",
17+
"Intended Audience :: Developers",
18+
"License :: OSI Approved :: Apache Software License",
19+
"Programming Language :: Python",
20+
"Programming Language :: Python :: 3",
21+
]
22+
dependencies = ["requests"]
23+
dynamic = ["version"]
24+
25+
[project.urls]
26+
Documentation = "https://typesense.org/"
27+
Source = "https://github.com/typesense/typesense-python"
28+
Tracker = "https://github.com/typesense/typesense-python/issues"
29+
30+
[tool.setuptools.dynamic]
31+
version = {attr = "typesense.__version__"}
32+
33+
[tool.setuptools.packages.find]
34+
where = ["src"]

setup.py

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
from .client import Client # NOQA
2+
3+
4+
__version__ = '0.19.0.beta1'

0 commit comments

Comments
 (0)