Skip to content

Commit 5efcf87

Browse files
committed
Publish to PyPi
1 parent f00b63f commit 5efcf87

File tree

4 files changed

+31
-4
lines changed

4 files changed

+31
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ Furthermore, the other choices don't have the same number of IDEs or querying ab
2424

2525
The performance of this repo was compared with the Sqlite official library, LMDB and RocksDB under similar conditions of CPU, RAM and NVMe disk and the results are shown below:
2626

27-
![Performance](misc/performance.png?raw=true)
27+
![Performance](https://raw.githubusercontent.com/siara-cc/sqlite_blaster_python/main/misc/performance.png)
2828

2929
RocksDB performs much better than other choices and performs consistently for over billion entries, but it is quite slow initially.
3030

31-
The chart data can be found [here](https://github.com/siara-cc/sqlite_blaster_python/blob/master/SqliteBlasterPerformanceLineChart.xlsx?raw=true).
31+
The chart data can be found [here](https://raw.githubusercontent.com/siara-cc/sqlite_blaster_python/main/misc/SqliteBlasterPerformanceLineChart.xlsx).
3232

3333
# Building and running tests
3434

pyproject.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@ requires = [
77
]
88
build-backend = "setuptools.build_meta"
99

10+
[project]
11+
name = "sqlite_blaster_python"
12+
version = "0.0.3"
13+
authors = [
14+
{ name="Arundale Ramanathan", email="[email protected]" },
15+
]
16+
description = "A library for creating huge Sqlite indexes at breakneck speeds"
17+
readme = "README.md"
18+
requires-python = ">=3.7"
19+
classifiers = [
20+
"Programming Language :: Python :: 3",
21+
"License :: OSI Approved :: MIT License",
22+
"Operating System :: OS Independent",
23+
]
24+
25+
[project.urls]
26+
"Homepage" = "https://github.com/siara-cc/sqlite_blaster_python"
27+
"Bug Tracker" = "https://github.com/siara-cc/sqlite_blaster_python/issues"
28+
1029
[tool.mypy]
1130
files = "setup.py"
1231
python_version = "3.7"

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[metadata]
2+
description-file=README.md
3+
license_files=LICENSE

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
from setuptools import Extension, setup
88
from setuptools.command.build_ext import build_ext
99

10+
from pathlib import Path
11+
this_directory = Path(__file__).parent
12+
long_description = (this_directory / "README.md").read_text()
13+
1014
# Convert distutils Windows platform specifiers to CMake -A arguments
1115
PLAT_TO_CMAKE = {
1216
"win32": "Win32",
@@ -127,11 +131,12 @@ def build_extension(self, ext: CMakeExtension) -> None:
127131
# logic and declaration, and simpler if you include description/version in a file.
128132
setup(
129133
name="sqlite_blaster_python",
130-
version="0.0.1",
134+
version="0.0.3",
131135
author="Arundale Ramanathan",
132136
author_email="[email protected]",
133137
description="Python binding for sqlite_blaster project",
134-
long_description="",
138+
long_description=long_description,
139+
long_description_content_type='text/markdown',
135140
ext_modules=[CMakeExtension("sqlite_blaster_python")],
136141
cmdclass={"build_ext": CMakeBuild},
137142
zip_safe=False,

0 commit comments

Comments
 (0)