Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
fb688ce9
Commit
fb688ce9
authored
Feb 27, 2018
by
Matthew Webster
Browse files
New template for build
parent
d761cd91
Changes
1
Hide whitespace changes
Inline
Side-by-side
.conda/meta.yaml
View file @
fb688ce9
{
%
set data = load_setup_py_data() %
}
package
:
name
:
'
{{
name
}}'
version
:
'
{{
version
}}'
name
:
fslpy
version
:
{{
data
[
'
version'
]}}
build
:
noarch
:
python
script
:
python setup.py install --single-version-externally-managed --record=record.txt
noarch
:
python
script
:
python setup.py install --single-version-externally-managed --record=record.txt
source
:
path
:
../
path
:
../
requirements
:
build
:
-
python
{{ python }}
-
python
>2
-
setuptools
-
six 1.*
-
deprecation 1.*
-
numpy 1.*
-
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.*
{
%
for package in data.get('setup_requires'
,
{}
) %
}
-
{{
package.lower()
}}
{
%
endfor %
}
run
:
-
python
-
six 1.*
-
deprecation 1.*
-
numpy 1.*
-
scipy >=0.18,<2
-
nibabel 2.*
-
python >2
{
%
for package in data.get('install_requires'
,
{}
) %
}
-
{{
package.lower()
}}
{
%
endfor %
}
run_constrained
:
-
indexed_gzip >=0.7.0,<1
-
wxpython >=3.0.2.0,<4.1
-
trimesh >=2.22.28,<3
-
rtree
0.8
{
%
for name
,
pkgs in data.get('extras_require'
,
dict()).items() %
}
{
%
for package in pkgs %
}
-
{{
package.lower()
}}
{
%
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment