-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28390 from jan-janssen/batchgenerators
Add Batchgenerators
- Loading branch information
Showing
2 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{% set name = "batchgenerators" %} | ||
{% set version = "0.25.1" %} | ||
{% set python_min = "3.9" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/batchgenerators-{{ version }}.tar.gz | ||
sha256: 4663a7f393bf1681d7675648362ba3f11b2a9474fb17228a92aac5d1ad28bb39 | ||
patches: | ||
- python3.patch # Based on https://github.com/MIC-DKFZ/batchgenerators/pull/130 | ||
|
||
build: | ||
noarch: python | ||
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation | ||
number: 0 | ||
|
||
requirements: | ||
host: | ||
- python {{ python_min }} | ||
- pip | ||
- setuptools | ||
run: | ||
- python >={{ python_min }} | ||
- pillow >=7.1.2 | ||
- numpy >=1.10.2 | ||
- scipy | ||
- scikit-image | ||
- scikit-learn | ||
- future | ||
- pandas | ||
- threadpoolctl | ||
|
||
test: | ||
imports: | ||
- batchgenerators | ||
commands: | ||
- pip check | ||
requires: | ||
- pip | ||
- python {{ python_min }} | ||
|
||
about: | ||
home: https://github.com/MIC-DKFZ/batchgenerators | ||
summary: Data augmentation toolkit | ||
license: Apache-2.0 | ||
license_file: LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- jan-janssen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
From d02c1f641b672f23cdddda014bc66ed22874ef13 Mon Sep 17 00:00:00 2001 | ||
From: Jan Janssen <[email protected]> | ||
Date: Thu, 28 Nov 2024 11:44:59 +0100 | ||
Subject: [PATCH] remove unittest2 | ||
|
||
--- | ||
setup.py | 1 - | ||
1 file changed, 1 deletion(-) | ||
|
||
diff --git a/setup.py b/setup.py | ||
index 6c0a50e..6fbb14c 100755 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -17,7 +17,6 @@ | ||
"scikit-learn", | ||
"future", | ||
"pandas", | ||
- "unittest2", | ||
"threadpoolctl" | ||
], | ||
keywords=['data augmentation', 'deep learning', 'image segmentation', 'image classification', |