Skip to content

Commit f6c4589

Browse files
create empty workspace root package and dedicated djls-agent package (#39)
1 parent 6b013ee commit f6c4589

25 files changed

+85
-18
lines changed

.workspace/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# django-language-server Workspace
2+
3+
This is an empty Python package that exists solely to satisfy Hatch's package requirements while using [uv workspaces](https://docs.astral.sh/uv/concepts/projects/workspaces/).
4+
5+
The actual packages are located in:
6+
7+
- [`crates/`](../crates/) - Rust implementation of the LSP server
8+
- [`packages/djls-agent/`](../packages/djls-agent/) - Django introspection agent
9+
- [`packages/djls-server/`](../packages/djls-server/) - Python package that distributes the LSP server binary
File renamed without changes.

packages/djls-agent/pyproject.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[build-system]
2+
build-backend = "hatchling.build"
3+
requires = ["hatchling"]
4+
5+
[dependency-groups]
6+
dev = [
7+
"django-stubs>=5.1.1",
8+
"ruff>=0.8.2",
9+
]
10+
11+
[project]
12+
name = "djls-agent"
13+
version = "0.1.0"
14+
description = "Python agent for django-language-server"
15+
readme = "README.md"
16+
authors = [
17+
{ name = "Josh Thomas", email = "[email protected]" }
18+
]
19+
requires-python = ">=3.9"
20+
dependencies = [
21+
"django>=4.2",
22+
"protobuf>=5.29.1",
23+
]
24+
25+
[tool.hatch.build]
26+
packages = ["src/djls_agent"]

0 commit comments

Comments
 (0)