Commit 29e9d944 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

I give up. Dependencies duplicated in meta.yaml

parent d187e20d
......@@ -3,17 +3,24 @@
conda update conda
conda install setuptools conda-build
cd .conda
mkdir -p dist
mkdir -p ../dist
cd .conda
# get version and name
# get version and name. We call
# setup.py beforehand because it
# will install a bunch of deps,
# and output a bunch of stuff.
python ../setup.py -V &> /dev/null
version=`python ../setup.py -V`
name=`python ../setup.py --name`
cat ../requirements.txt > requirements.txt
cat ../requirements-dev.txt >> requirements.txt
# invoking setup.py causes it to
# install deps, which conda will
# incklude in thye build
rm -rf .eggs
# insert name/version into meta.yaml
echo "{% set name = '$name' %}" > vars.txt
echo "{% set version = '$version' %}" >> vars.txt
......@@ -21,4 +28,10 @@ cat vars.txt meta.yaml > tempfile
mv tempfile meta.yaml
rm vars.txt
# do the build
conda build --output-folder=../dist .
# tar it up
cd ../dist
tar czf "$name"-"$version"-conda.tar.gz *
cd ..
#!/usr/bin/env bash
rsync -rv dist/*conda.tar.gz "condadeploy:"
......@@ -15,6 +15,28 @@ requirements:
build:
- python
- setuptools
- six 1.*
- deprecation 1.*
- numpy 1.*
- scipy >=0.18,<1
- nibabel 2.*
# - indexed_gzip >=0.6.1,<1
- wxpython >=3.0.2.0,<4.1
- sphinx 1.6.*
- sphinx_rtd_theme 0.*
- mock 2.*
- coverage 4.*
- pytest 3.*
- pytest-cov 2.*
- pytest-runner >=2.*,<=3.*
run:
- python
- six 1.*
- deprecation 1.*
- numpy 1.*
- scipy >=0.18,<1
- nibabel 2.*
# - indexed_gzip >=0.6.1,<1
- wxpython >=3.0.2.0,<4.1
\ No newline at end of file
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