Skip to content

Commit 6a5ee91

Browse files
committed
Install pyradiomics from GitHub with pyproject.toml
1 parent 72eb33f commit 6a5ee91

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ python -m pip install -e ".[segment,dev]"
4848

4949
### Installation (PyRadiomics note)
5050

51-
⚠️ **Important**: `pyradiomics` includes compiled extensions and may fail to install via `pip` on some platforms (especially Windows) due to build-time dependencies and PEP517 build isolation.
51+
⚠️ **Important**: `pyradiomics` includes compiled extensions and may fail to install via `pip` on some platforms due to build-time dependencies and PEP517 build isolation.
5252

5353
To ensure a reliable installation, install `pyradiomics` **via conda** first, then install this package with `pip` **without dependency resolution**.
5454

@@ -153,14 +153,14 @@ Example segmentation config (JSON):
153153
"extra": { "roi_subset_robust": ["liver"] }
154154
},
155155
{
156-
"key": "vessels",
156+
"key": "tumor",
157157
"task": "liver_vessels",
158158
"output": "liver_tumor.nii.gz",
159159
"extra": {}
160160
}
161161
],
162162
"postprocess": {
163-
"merge_keys": ["liver", "vessels"],
163+
"merge_keys": ["liver", "tumor"],
164164
"output": "liver_all.nii.gz",
165165
"on_failure": "warn_only",
166166
"radius_mm": 5.0,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ segment = [
3333
]
3434

3535
radiomics = [
36-
"pyradiomics<3.1", # because 3.1.0 sdist metadata is broken on PyPI right now
36+
"pyradiomics@git+https://github.com/radiomics/pyradiomics.git", # because 3.1.0 sdist metadata is broken on PyPI right now
3737
]
3838

3939
dev = [

0 commit comments

Comments
 (0)