Skip to content

Commit

Permalink
BLD: Added conda files to repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
twiecki committed Feb 18, 2014
1 parent a67aea5 commit 1f04a1b
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
9 changes: 9 additions & 0 deletions conda/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
%SYS_PYTHON% setup.py build --compiler=mingw32
%SYS_PYTHON% setup.py install --prefix=%PREFIX%
if errorlevel 1 exit 1


for %%x in (libgcc_s_sjlj-1.dll libgfortran-3.dll libquadmath-0.dll) do (
copy %SYS_PREFIX%\Scripts\%%x %SP_DIR%\pymc\
if errorlevel 1 exit 1
)
4 changes: 4 additions & 0 deletions conda/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

$PYTHON setup.py build
$PYTHON setup.py install
30 changes: 30 additions & 0 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package:
name: pymc
version: 2.3.2

source:
fn: pymc-2.3.2.tar.gz
url: https://pypi.python.org/packages/source/p/pymc/pymc-2.3.2.tar.gz
md5: ea95fd6186a5c08937744f38f85390b9

requirements:
build:
- python
- numpy

run:
- python
- numpy
- matplotlib
- scipy

test:
imports:
- pymc

requires:
- nose

about:
home: https://github.com/pymc-devs/pymc
license: Academic Free License (http://opensource.org/licenses/AFL-3.0)
8 changes: 8 additions & 0 deletions conda/run_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import pymc
import pymc.Container_values
import pymc.LazyFunction
import pymc.flib
import pymc.gp.cov_funs.distances
import pymc.gp.cov_funs.isotropic_cov_funs
import pymc.gp.incomplete_chol
import pymc.gp.linalg_utils

0 comments on commit 1f04a1b

Please sign in to comment.