Skip to content

Commit bdf7b9c

Browse files
author
Onur Rauf Bingol
committed
Initial commit of the conda-build recipe
1 parent 739a23d commit bdf7b9c

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

conda-recipes/geomdl/meta.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# conda-build recipe for NURBS-Python (geomdl) package
2+
{% set setup_data = load_setup_py_data() %}
3+
4+
package:
5+
name: geomdl
6+
version: {{ setup_data['version'] }}
7+
8+
source:
9+
path: ../../
10+
11+
build:
12+
noarch: python
13+
string: {{ GIT_DESCRIBE_HASH[1:] }}
14+
script:
15+
# The following install commands do not pack version-specific egg directory with the conda package
16+
# However, they pack "dist-info" directory as an extra
17+
- python setup.py sdist
18+
- pip install dist/geomdl-{{ setup_data['version'] }}.tar.gz --no-dependencies --no-compile
19+
# For some reason, conda-build does not call tests under "test" section
20+
- pytest
21+
22+
requirements:
23+
host:
24+
- python
25+
- setuptools
26+
- six
27+
#- enum34 # required for py27
28+
- numpy
29+
- matplotlib
30+
- pytest
31+
run:
32+
- python
33+
- setuptools
34+
- six
35+
#- enum34 # required for py27
36+
- numpy
37+
- matplotlib
38+
- plotly
39+
40+
test:
41+
imports:
42+
- geomdl
43+
44+
about:
45+
home: https://onurraufbingol.com/NURBS-Python/
46+
license: MIT
47+
license_file: ../../LICENSE
48+
summary: Object-oriented NURBS curve and surface evaluation library
49+
description: "Self-contained, object-oriented, pure Python B-Spline and NURBS evaluation library with knot vector and surface grid generators."
50+
doc_url: 'http://nurbs-python.readthedocs.io/'
51+
dev_url: 'https://github.com/orbingol/NURBS-Python'
52+
53+
extra:
54+
recipe-maintainers:
55+
- orbingol

0 commit comments

Comments
 (0)