mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-17 07:45:08 +00:00
Replace PyO3 with IPC approach for Python/project information (#214)
Some checks are pending
lint / pre-commit (push) Waiting to run
lint / rustfmt (push) Waiting to run
lint / clippy (push) Waiting to run
lint / cargo-check (push) Waiting to run
release / release (push) Blocked by required conditions
test / generate-matrix (push) Waiting to run
release / build (push) Waiting to run
release / test (push) Waiting to run
test / Python , Django () (push) Blocked by required conditions
test / tests (push) Blocked by required conditions
zizmor 🌈 / zizmor latest via PyPI (push) Waiting to run
Some checks are pending
lint / pre-commit (push) Waiting to run
lint / rustfmt (push) Waiting to run
lint / clippy (push) Waiting to run
lint / cargo-check (push) Waiting to run
release / release (push) Blocked by required conditions
test / generate-matrix (push) Waiting to run
release / build (push) Waiting to run
release / test (push) Waiting to run
test / Python , Django () (push) Blocked by required conditions
test / tests (push) Blocked by required conditions
zizmor 🌈 / zizmor latest via PyPI (push) Waiting to run
This commit is contained in:
parent
31b0308a40
commit
d99c96d6b6
39 changed files with 903 additions and 696 deletions
24
python/build.py
Normal file
24
python/build.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import zipapp
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def main():
|
||||
source_dir = Path(__file__).parent / "src" / "djls_inspector"
|
||||
output_file = Path(__file__).parent / "dist" / "djls_inspector.pyz"
|
||||
output_file.parent.mkdir(exist_ok=True)
|
||||
|
||||
zipapp.create_archive(
|
||||
source_dir,
|
||||
target=output_file,
|
||||
interpreter=None, # No shebang - will be invoked explicitly
|
||||
compressed=True,
|
||||
)
|
||||
|
||||
print(f"Successfully created {output_file}")
|
||||
print(f"Size: {output_file.stat().st_size} bytes")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Loading…
Add table
Add a link
Reference in a new issue