-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from kain88-de/anaconda
conda build scripts (closes #27)
- Loading branch information
Showing
3 changed files
with
73 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <where conda build the package>`. | ||
To upload to the MDAnalysis channel add the flag `-u MDAnalysis` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |