Skip to content

Commit 6d901d7

Browse files
Add files via upload
1 parent a645649 commit 6d901d7

File tree

2 files changed

+60
-52
lines changed

2 files changed

+60
-52
lines changed

pyproject.toml

+46-38
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,46 @@
1-
[build-system]
2-
requires = ["setuptools>=45", "wheel"]
3-
build-backend = "setuptools.build_meta"
4-
5-
[project]
6-
name = "koboldapi"
7-
version = "0.5.1"
8-
description = "Python library for interacting with KoboldCPP API"
9-
authors = [{name = "jabberjabberjabber"}]
10-
license = {text = "GNU General Public License v3.0"}
11-
readme = "README.md"
12-
requires-python = ">=3.8"
13-
dependencies = [
14-
"requests",
15-
"aiohttp",
16-
"pillow",
17-
"pillow-heif",
18-
"rawpy",
19-
"extractous",
20-
"jinja2",
21-
"regex"
22-
]
23-
24-
[project.optional-dependencies]
25-
26-
dev = [
27-
"black",
28-
"isort",
29-
"flake8"
30-
]
31-
32-
[tool.black]
33-
line-length = 88
34-
target-version = ["py38"]
35-
36-
[tool.isort]
37-
profile = "black"
38-
multi_line_output = 3
1+
[build-system]
2+
requires = ["setuptools>=45", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "koboldapi"
7+
version = "0.5.3"
8+
description = "Python library for interacting with KoboldCPP API"
9+
authors = [{name = "jabberjabberjabber"}]
10+
license = {text = "GNU General Public License v3.0"}
11+
readme = "README.md"
12+
requires-python = ">=3.8"
13+
dependencies = [
14+
"requests",
15+
"aiohttp",
16+
"pillow",
17+
"pillow-heif",
18+
"rawpy",
19+
"extractous",
20+
"jinja2",
21+
"regex"
22+
]
23+
24+
[project.scripts]
25+
kobold-image = "examples.image_example:main"
26+
kobold-text = "examples.text_example:main"
27+
28+
[project.optional-dependencies]
29+
dev = [
30+
"black",
31+
"isort",
32+
"flake8"
33+
]
34+
35+
[tool.black]
36+
line-length = 88
37+
target-version = ["py38"]
38+
39+
[tool.isort]
40+
profile = "black"
41+
multi_line_output = 3
42+
43+
[tool.setuptools]
44+
package-dir = {"" = "src"}
45+
packages = {find = {where = ["src"]}}
46+
include-package-data = true

setup.py

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
from setuptools import setup, find_packages
2-
3-
setup(
4-
name="koboldapi",
5-
packages=find_packages(where="src"),
6-
package_dir={"": "src"},
7-
include_package_data=True,
8-
entry_points={
9-
"console_scripts": [
10-
"kobold-image=examples.image_example:main",
11-
"kobold-text=examples.text_example:main",
12-
],
13-
},
14-
python_requires=">=3.8",
1+
from setuptools import setup, find_packages
2+
3+
setup(
4+
name="koboldapi",
5+
packages=find_packages(where="src"),
6+
package_dir={"": "src"},
7+
include_package_data=True,
8+
entry_points={
9+
"console_scripts": [
10+
"kobold-image=examples.image_example:main",
11+
"kobold-text=examples.text_example:main",
12+
],
13+
},
14+
python_requires=">=3.8",
1515
)

0 commit comments

Comments
 (0)