Skip to content

Commit 1548574

Browse files
committed
Align server/pyproject.toml to sdk package definition
Previously, the `server` `pyproject.toml` was located in `server/app`, which is different to how it is done in the `sdk`. This aligns the `server` `pyproject.toml` by moving it up one directory level, fixing the `version.py` path, and adding a top-level `__init__.py` for the `app` package. Fixes #466
1 parent 10ff4e4 commit 1548574

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

server/app/__init__.py

Whitespace-only changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ build-backend = "setuptools.build_meta"
1616
# from app.version import version
1717
# print(f"Project version: {version}")
1818
# ```
19-
root = "../.." # Defines the path to the root of the repository
20-
version_file = "version.py"
19+
root = ".." # Defines the path to the root of the repository
20+
version_file = "app/version.py"
2121

2222
[project]
2323
name = "basyx-python-server"
@@ -55,7 +55,7 @@ dev = [
5555
"Homepage" = "https://github.com/eclipse-basyx/basyx-python-sdk"
5656

5757
[tool.setuptools]
58-
packages = { find = { exclude = ["test*"] } }
58+
packages = { find = { include = ["app*"], exclude = ["test*"] } }
5959

6060
[tool.setuptools.package-data]
6161
app = ["py.typed"]

0 commit comments

Comments
 (0)