diff --git a/MAINTAINER.md b/MAINTAINER.md new file mode 100644 index 0000000..683a870 --- /dev/null +++ b/MAINTAINER.md @@ -0,0 +1,22 @@ +How to build package +-------------------- +To build and run tests on the package for python 2/3 use the following command + + `conda build . --python 3.5 --python 2.7` + +To build the package the `meta.yaml` is building from the current source +directory + +If the build fails because `tempdir` is missing add the MDAnalysis channel +to your `.condarc`. + +Prepare for a release +--------------------- + +Update the version string in `meta.yaml` + +Pushing to official MDAnalysis channel +-------------------------------------- + +To upload to your own channel `anaconda upload `. +To upload to the MDAnalysis channel add the flag `-u MDAnalysis` diff --git a/gridData/tests/test_grid.py b/gridData/tests/test_grid.py index 40dfde6..e195196 100644 --- a/gridData/tests/test_grid.py +++ b/gridData/tests/test_grid.py @@ -4,7 +4,7 @@ from gridData import Grid -from ..tests import module_not_found +from gridData.tests import module_not_found class TestGrid: diff --git a/meta.yaml b/meta.yaml new file mode 100644 index 0000000..3ca1ebc --- /dev/null +++ b/meta.yaml @@ -0,0 +1,50 @@ +package: + name: griddataformats + version: "0.3.2" + +source: + path: . + +build: + noarch_python: True + script: $PYTHON setup.py install + +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 + - tempdir + + files: + - gridData/tests + + commands: + - nosetests gridData + +about: + home: http://mdanalysis.org/GridDataFormats + license: LGPLv3 + license_file: COPYING.LESSER + summary: 'GridDataFormats provides the Python package gridData' + +# See +# http://docs.continuum.io/conda/build.html for +# more information about meta.yaml