Commit fb688ce9 authored by Matthew Webster's avatar Matthew Webster
Browse files

New template for build

parent d761cd91
{% set data = load_setup_py_data() %}
package: package:
name: '{{ name }}' name: fslpy
version: '{{ version }}' version: {{ data['version']}}
build: build:
noarch: python noarch: python
script: python setup.py install --single-version-externally-managed --record=record.txt script: python setup.py install --single-version-externally-managed --record=record.txt
source: source:
path: path: ../
../
requirements: requirements:
build: build:
- python {{ python }} - python >2
- setuptools - setuptools
- six 1.* {% for package in data.get('setup_requires', {}) %}
- deprecation 1.* - {{ package.lower() }}
- numpy 1.* {% endfor %}
- scipy >=0.18,<2
- nibabel 2.*
- sphinx 1.6.*
- sphinx_rtd_theme 0.*
- mock 2.*
- coverage 4.*
- pytest 3.*
- pytest-cov 2.*
- pytest-runner >=2.*,<=3.*
run: run:
- python - python >2
- six 1.* {% for package in data.get('install_requires', {}) %}
- deprecation 1.* - {{ package.lower() }}
- numpy 1.* {% endfor %}
- scipy >=0.18,<2
- nibabel 2.*
run_constrained: run_constrained:
- indexed_gzip >=0.7.0,<1 {% for name, pkgs in data.get('extras_require', dict()).items() %}
- wxpython >=3.0.2.0,<4.1 {% for package in pkgs %}
- trimesh >=2.22.28,<3 - {{ package.lower() }}
- rtree 0.8 {% endfor %}
{% endfor %}
{% if 'test_suite' in data %}
test:
requires:
{% for package in data.get('setup_requires', {}) %}
- {{ package.lower() }}
{% endfor %}
source_files:
- {{ data['test_suite'] }}
commands:
- python -m pytest {{ data['test_suite'] }}
{% endif %}
about:
license_file: LICENSE
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment