Skip to content

Commit 770f27f

Browse files
Merge pull request #108 from pydata/conda
BLD: add in conda.recipe
2 parents c436e28 + 84a2e9a commit 770f27f

File tree

3 files changed

+84
-0
lines changed

3 files changed

+84
-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: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
package:
2+
name: pandas-datareader
3+
version: "0.2.0"
4+
5+
source:
6+
fn: pandas-datareader-0.2.0.tar.gz
7+
url: https://pypi.python.org/packages/source/p/pandas-datareader/pandas-datareader-0.2.0.tar.gz
8+
md5: 25b40b0cd98f3956580a4f33aed2d56b
9+
# patches:
10+
# List any patch files here
11+
# - fix.patch
12+
13+
# build:
14+
# noarch_python: True
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+
# - pandas-datareader = pandas-datareader:main
21+
#
22+
# Would create an entry point called pandas-datareader that calls pandas-datareader.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+
- pandas
34+
35+
run:
36+
- python
37+
- pandas
38+
39+
test:
40+
# Python imports
41+
imports:
42+
- pandas_datareader
43+
- pandas_datareader.google
44+
- pandas_datareader.io
45+
- pandas_datareader.io.tests
46+
- pandas_datareader.yahoo
47+
48+
# commands:
49+
# You can put test commands to be run here. Use this to test that the
50+
# entry points work.
51+
52+
53+
# You can also put a file called run_test.py in the recipe that will be run
54+
# at test time.
55+
56+
# requires:
57+
# Put any additional test requirements here. For example
58+
# - nose
59+
60+
about:
61+
home: https://github.com/pydata/pandas-datareader
62+
license: BSD License
63+
summary: 'Data readers extracted from the pandas codebase,should be compatible with recent pandas versions'
64+
65+
# See
66+
# http://docs.continuum.io/conda/build.html for
67+
# more information about meta.yaml

0 commit comments

Comments
 (0)