Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda build #571

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions package/devtools/conda-recipe/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
How?
conda build ./mdanalysis --py=2.7

# above command will automatically build griddataformats too.
#conda build ./griddataformats --py=2.7
9 changes: 9 additions & 0 deletions package/devtools/conda-recipe/griddataformats/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.
40 changes: 40 additions & 0 deletions package/devtools/conda-recipe/griddataformats/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
package:
name: griddataformats
version: "0.3.0"

source:
git_url: https://github.com/MDAnalysis/GridDataFormats
git_tag: release-0.3.0


requirements:
build:
- python
- setuptools
- six
- numpy
- scipy

run:
- python
- six
- numpy
- scipy

test:
# Python imports
imports:
- gridData

# requires:
# Put any additional test requirements here. For example
# - nose

about:
home: http://mdanalysis.org/GridDataFormats
license: GNU LESSER GENERAL PUBLIC LICENSE
summary: 'GridDataFormats provides the Python package gridData'

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml
10 changes: 10 additions & 0 deletions package/devtools/conda-recipe/mdanalysis/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

cd package
$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.
46 changes: 46 additions & 0 deletions package/devtools/conda-recipe/mdanalysis/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
package:
name: mdanalysis
version: "0.13.0dev0"

source:
git_url: https://github.com/MDAnalysis/mdanalysis
git_tag: develop


requirements:
build:
- python
- setuptools
- numpy
- griddataformats
- networkx
- biopython
- cython

run:
- python
- numpy
- scipy
- griddataformats
- networkx
- biopython

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

# requires:
# Put any additional test requirements here. For example
# - nose

about:
home: http://www.mdanalysis.org
license: GNU GENERAL PUBLIC 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