Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1b49096

Browse files
authored
Merge pull requesttypesense#40 from grantjenks/master
Modernize packaging
2 parentse22e31d +56617c5 commit1b49096

29 files changed

+38
-21
lines changed

‎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-alt"
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 .clientimportClient# NOQA
2+
3+
4+
__version__='0.17.1'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp