Skip to content

Commit

Permalink
conda build scripts
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
kain88-de committed Mar 8, 2016
1 parent 622ebf3 commit ce3eb1d
Show file tree
Hide file tree
Showing 5 changed files with 128 additions and 0 deletions.
4 changes: 4 additions & 0 deletions maintainer/conda/MDAnalysis/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

pip install package/
pip install testsuite/
74 changes: 74 additions & 0 deletions maintainer/conda/MDAnalysis/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
package:
name: mdanalysis
version: "0.14.0"

source:
# to build from source you can speficy the path to the code directly.
# path: ../../../
git_url: https://github.com/MDAnalysis/mdanalysis
git_branch: develop

requirements:
build:
- python
- setuptools
- pip
- numpy
- cython
- tempdir
- six
- griddataformats
- networkx
- biopython
- nose
- tempdir

run:
- python
- numpy
- scipy
- griddataformats
- networkx
- biopython
- matplotlib
- seaborn
- six
- netcdf4
- nose
- tempdir

test:
# Python imports
# turn off test for now since MDAnalysis require GridDataFormats package
# we can make a conda recipe for it too
imports:
- MDAnalysis
- MDAnalysis.analysis

requires:
# Put any additional test requirements here. For example
- python
- numpy
- scipy
- griddataformats
- networkx
- biopython
- matplotlib
- seaborn
- six
- netcdf4
- nose
- tempdir

commands:
- python -c 'import MDAnalysisTests; MDAnalysisTests.run(label="full", extra_argv=[])'

about:
home: http://www.mdanalysis.org
license: GPLv2
license_file: package/LICENSE
summary: 'MDAnalysis is a Python library to analyze molecular dynamics trajectories.'

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml
8 changes: 8 additions & 0 deletions maintainer/conda/tempdir/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"%PYTHON%" setup.py install
if errorlevel 1 exit 1

:: Add more build steps here, if they are necessary.

:: See
:: http://docs.continuum.io/conda/build.html
:: for a list of environment variables that are set during the build process.
9 changes: 9 additions & 0 deletions maintainer/conda/tempdir/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

$PYTHON setup.py install

# Add more build steps here, if they are necessary.

# See
# http://docs.continuum.io/conda/build.html
# for a list of environment variables that are set during the build process.
33 changes: 33 additions & 0 deletions maintainer/conda/tempdir/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package:
name: tempdir
version: "0.7.1"

source:
fn: tempdir-0.7.1.tar.gz
url: https://pypi.python.org/packages/source/t/tempdir/tempdir-0.7.1.tar.gz
md5: 4076f2d7fa9306c77f7b16a5f2e4c154

build:
noarch_python: True

requirements:
build:
- python
- setuptools

run:
- python

test:
# Python imports
imports:
- tempdir

about:
home: https://bitbucket.org/another_thomas/tempdir
license: MIT License
summary: 'Tempdirs are temporary directories, based on tempfile.mkdtemp'

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml

0 comments on commit ce3eb1d

Please sign in to comment.