Skip to content

Commit 5bdc584

Browse files
authored
Merge pull request #2215 from dfroger/mayavi
Mayavi
2 parents ca354ad + f6cd411 commit 5bdc584

File tree

4 files changed

+70
-0
lines changed

4 files changed

+70
-0
lines changed

recipes/mayavi/bld.bat

+2
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

recipes/mayavi/build.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
CMD="$PYTHON setup.py install --single-version-externally-managed --record record.txt"
4+
5+
DISPLAY=localhost:1.0 xvfb-run -a bash -c $CMD

recipes/mayavi/meta.yaml

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{% set version = "4.5.0" %}
2+
3+
package:
4+
name: mayavi
5+
version: {{ version }}
6+
7+
source:
8+
fn: mayavi-{{ version }}.tar.gz
9+
url: https://github.com/enthought/mayavi/archive/{{ version }}.tar.gz
10+
sha256: 36f688b3ea542e9f8cc0d7faa25e1425723cd00acc8aa640169029f33679ab85
11+
12+
build:
13+
entry_points:
14+
- mayavi2 = mayavi.scripts.mayavi2:main
15+
- tvtk_doc = tvtk.tools.tvtk_doc:main
16+
skip: True # [osx or win]
17+
number: 0
18+
19+
requirements:
20+
build:
21+
- toolchain
22+
- python
23+
- numpy x.x
24+
- setuptools
25+
- vtk
26+
- traitsui
27+
- apptools
28+
run:
29+
- python
30+
- numpy x.x
31+
- vtk ==7.1.0
32+
- traitsui
33+
- apptools
34+
- envisage
35+
- pyqt
36+
- setuptools
37+
38+
test:
39+
commands:
40+
- mayavi2 --help
41+
imports:
42+
- tvtk
43+
- tvtk.array_ext
44+
- mayavi
45+
46+
about:
47+
home: https://github.com/enthought/mayavi
48+
license: BSD-3-Clause
49+
license_family: BSD
50+
license_file: LICENSE.txt
51+
summary: The Mayavi scientific data 3-dimensional visualizers
52+
doc_url: http://docs.enthought.com/mayavi/mayavi
53+
dev_url: https://github.com/enthought/mayavi
54+
55+
extra:
56+
recipe-maintainers:
57+
- msarahan
58+
- grlee77
59+
- hadim
60+
- dfroger

recipes/mayavi/yum_requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
libXt-devel
2+
mesa-libGLU-devel
3+
xorg-x11-server-Xvfb

0 commit comments

Comments
 (0)