File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " Dissect" ,
33 "image" : " ghcr.io/fox-it/dissect-devcontainer" ,
4- "postCreateCommand" : " pip3 install --user --editable . --config-settings editable_mode=compat"
4+ "postCreateCommand" : " uv sync" ,
5+
56 // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
6- // "remoteUser": "root"
7+ // "remoteUser": "root",
8+
9+ "customizations" : {
10+ "vscode" : {
11+ "settings" : {
12+ "rust-analyzer.linkedProjects" : [
13+ " dissect/util/_native.src/Cargo.toml"
14+ ]
15+ }
16+ }
17+ }
718}
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ requires = virtualenv>=20.24.6
1414[pkgenv]
1515config_settings_get_requires_for_build_wheel = --build-rust =1
1616config_settings_build_wheel = --build-option =--py-limited-api =cp310
17+ passenv =
18+ RUSTUP_HOME
1719
1820[testenv]
1921deps =
@@ -50,6 +52,8 @@ commands =
5052[testenv:build-native]
5153package = skip
5254dependency_groups = build
55+ passenv =
56+ RUSTUP_HOME
5357commands =
5458 pyproject-build --wheel --config-setting =--build-rust --config-setting =--build-option =--py-limited-api =cp310
5559
5963 setuptools
6064 setuptools-scm
6165 setuptools-rust
66+ passenv =
67+ RUSTUP_HOME
6268commands =
6369 python -c " from setuptools import setup; setup()" build_rust --inplace
6470
You can’t perform that action at this time.
0 commit comments