ITADN

Support site-package installed in editable mode

#2084Closedinochisa 创建于 2025-12-23
I
inochisacommented
I am developing litex with vscode by using vscode-python plugin with jedi-language-server. I setup the environment follows [the guide of litex ](https://github.com/enjoy-digital/litex/?tab=readme-ov-file#quick-start-guide). After setting up, I got no suggestion related to any litex package. After some investigation, I found the `litex` package are installed with editable mode, which only has a few file in its dist info and two editable file in the site-package dir. ``` litex-2025.8.dist-info ├── direct_url.json ├── entry_points.txt ├── INSTALLER ├── licenses │ └── LICENSE ├── METADATA ├── RECORD ├── REQUESTED ├── top_level.txt └── WHEEL __editable___litex_2025_8_finder.py __editable__.litex-2025.8.pth ``` It seems like it is a editable installed described in [here](https://packaging.python.org/en/latest/specifications/direct-url/). I wonder whether jedi supports this type of package? If not, is there a plan for it?
关闭于 2025-12-24 5 条评论