Skip to content

Commit d6a8c01

Browse files
committed
added recipe for the manual conda-build
1 parent 3301d64 commit d6a8c01

File tree

5 files changed

+40
-2
lines changed

5 files changed

+40
-2
lines changed

openpiv/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def dynamic_masking(image,method='edges',filter_size=7,threshold=0.005):
7373
blur_edges = gaussian_filter(edges,21)
7474
# create the boolean mask
7575
bw = (blur_edges > threshold)
76-
bw = binary_fill_holes(bw)
76+
bw = img_as_ubyte(binary_fill_holes(bw))
7777
imcopy -= blurback
7878
imcopy[bw] = 0.0
7979
elif method is 'intensity':

recipe/bld.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt
2+
if errorlevel 1 exit 1

recipe/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$PYTHON setup.py install --single-version-externally-managed --record=record.txt # Python command to install the script.

recipe/meta.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
package:
2+
name: openpiv
3+
version: "0.21.2"
4+
5+
source:
6+
git_rev: v0.21.2
7+
git_url: https://github.com/openpiv/openpiv-python.git
8+
9+
requirements:
10+
build:
11+
- python
12+
- pip
13+
- setuptools
14+
- numpy
15+
- cython
16+
- requests
17+
run:
18+
- python
19+
- numpy
20+
- scipy
21+
- matplotlib
22+
- scikit-image
23+
- progressbar2
24+
- future
25+
26+
test:
27+
imports:
28+
- openpiv
29+
30+
about:
31+
home: https://github.com/openpiv/openpiv
32+
license: GPLv3
33+
license_file: LICENSE.txt
34+
summary: "Open Source Particle Image Velocimetry"
35+
doc_url: http://openpiv.readthedocs.io/

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969

7070

7171
setup( name = "OpenPIV",
72-
version="0.21.1a",
72+
version="0.21.2",
7373
author = "OpenPIV contributors",
7474
author_email = "[email protected]",
7575
description = "An open source software for PIV data analysis",

0 commit comments

Comments
 (0)