Skip to content

Commit 6543704

Browse files
committed
BLD: add conda recipe
1 parent 20291ae commit 6543704

File tree

3 files changed

+80
-0
lines changed

3 files changed

+80
-0
lines changed

conda-recipe/bld.bat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"%PYTHON%" setup.py install
2+
if errorlevel 1 exit 1
3+
4+
:: Add more build steps here, if they are necessary.
5+
6+
:: See
7+
:: http://docs.continuum.io/conda/build.html
8+
:: for a list of environment variables that are set during the build process.

conda-recipe/build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
$PYTHON setup.py install
4+
5+
# Add more build steps here, if they are necessary.
6+
7+
# See
8+
# http://docs.continuum.io/conda/build.html
9+
# for a list of environment variables that are set during the build process.

conda-recipe/meta.yaml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
package:
2+
name: cycler
3+
version: {{ environ['GIT_DESCRIBE_TAG'] }}.post{{ environ['GIT_DESCRIBE_NUMBER'] }}
4+
5+
6+
source:
7+
git_url: ../
8+
9+
# patches:
10+
# List any patch files here
11+
# - fix.patch
12+
13+
build:
14+
string: {{ environ.get('GIT_BUILD_STR', '') }}_py{{ py }}
15+
# preserve_egg_dir: True
16+
# entry_points:
17+
# Put any entry points (scripts to be generated automatically) here. The
18+
# syntax is module:function. For example
19+
#
20+
# - cycler = cycler:main
21+
#
22+
# Would create an entry point called cycler that calls cycler.main()
23+
24+
25+
# If this is a new build for the same version, increment the build
26+
# number. If you do not include this key, it defaults to 0.
27+
# number: 1
28+
29+
requirements:
30+
build:
31+
- python
32+
- setuptools
33+
- six
34+
35+
run:
36+
- python
37+
- six
38+
39+
test:
40+
# Python imports
41+
imports:
42+
- cycler
43+
44+
# commands:
45+
# You can put test commands to be run here. Use this to test that the
46+
# entry points work.
47+
48+
49+
# You can also put a file called run_test.py in the recipe that will be run
50+
# at test time.
51+
52+
# requires:
53+
# Put any additional test requirements here. For example
54+
# - nose
55+
56+
about:
57+
home: http://github.com/matplotlib/cycler
58+
license: BSD
59+
summary: 'Composable style cycles'
60+
61+
# See
62+
# http://docs.continuum.io/conda/build.html for
63+
# more information about meta.yaml

0 commit comments

Comments
 (0)