Skip to content

Commit

Permalink
Moving the clients around, add package metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
hraberg committed Feb 1, 2024
1 parent b6d0ba6 commit 143c668
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ slt-test-sql-acid: target/sql_acid.test target/slt
sql-acid-test: target/endb
ENDB_PID=$$(./$< -d :memory: > target/endb_sql_acid_test.log 2>&1 & echo $$!); \
for test in $(SQL_ACID_TESTS); \
do find $(SQL_ACID_TEST_DIR) -iname $$test | xargs -i examples/endb_console.py {}; \
do find $(SQL_ACID_TEST_DIR) -iname $$test | xargs -i clients/python/endb_console.py {}; \
done; \
kill $$ENDB_PID

Expand Down
File renamed without changes.
8 changes: 8 additions & 0 deletions clients/javascript/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "@endatabas/endb",
"description": "Endatabas JavaScript Client",
"license": "MIT",
"homepage": "https://github.com/endatabas/endb",
"exports": "./endb.mjs",
"version": "0.1.0-alpha.3"
}
File renamed without changes.
File renamed without changes.
30 changes: 30 additions & 0 deletions clients/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[project]
name = "endb"
dynamic = ["version"]
description = "Endatabas Python Client"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
]

[project.urls]
Homepage = "https://github.com/endatabas/endb"

[project.scripts]
"endb_console" = "endb_console:main"

[project.optional-dependencies]
websockets = ["websockets>=12"]

[tool.setuptools]
py-modules = ["endb", "endb_console"]

[tool.setuptools_scm]
root = "../.."
2 changes: 1 addition & 1 deletion tpcc/tpcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

cd "$(dirname "$0")"

ENDB_DRIVER_DIR=$(realpath ../examples/)
ENDB_DRIVER_DIR=$(realpath ../clients/python/)
PYTPCC_PROJECT_DIR=.venv/src/py-tpcc

if [ ! -d .venv ]; then
Expand Down

0 comments on commit 143c668

Please sign in to comment.