move djls Python agent code and create new binary workspace package (#34)

closer to this thing being installable
This commit is contained in:
Josh Thomas 2024-12-15 21:21:18 -06:00 committed by GitHub
parent 9845c0e861
commit e7d0cb1245
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 62 additions and 42 deletions

View file

View file

@ -0,0 +1,24 @@
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "djls-binary"
version = "0.1.0"
description = "Utility Python scripts for Django Language Server"
readme = "README.md"
authors = [
{ name = "Josh Thomas", email = "josh@joshthomas.dev" }
]
requires-python = ">=3.9"
dependencies = []
[tool.maturin]
bindings = "bin"
manifest-path = "../../crates/djls/Cargo.toml"
module-name = "djls"
strip = true
include = [
{ path = "../../proto/**/*", format = ["sdist", "wheel"] },
{ path = "../../LICENSE", format = "sdist" },
]