Skip to content

Commit

Permalink
tweaks to conda-recipe (still not working)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjodah committed May 15, 2019
1 parent 0034a61 commit 0be9b09
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
13 changes: 7 additions & 6 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ build:
script: python -m pip install --no-deps --ignore-installed .

requirements:
build:
host:
- python
- setuptools
- pip
run:
- python
- numpy
- sym >=0.3.4
- sympy >=1.1.1,!=1.2
Expand All @@ -30,19 +29,21 @@ requirements:
- pyodeint >=0.10.1
- pygslodeiv2 >=0.9.1
- pycvodes >=0.11.12
- pycompilation
- pycompilation >=0.4.6
- pycodeexport >=0.1.2
- cython
- python-symengine
- symcxx
- pysym
# - symcxx
# - pysym
- matplotlib >=2.0.2
- gxx_linux-64


test:
imports:
- {{ name }}
requires:
- pytest
- pytest -x


about:
Expand Down
5 changes: 1 addition & 4 deletions scripts/post_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ if [[ -d "dist/conda-recipe-$VERSION" ]]; then
fi
cp -r conda-recipe/ dist/conda-recipe-$VERSION
sed -i -E \
-e "s/\{\% set version(.+)/\{\% set version = \"$VERSION\" \%\}\n\{\% set sha256 = \"$SHA256\" \%\}/" \
-e "s/git_url:(.+)/fn: \{\{ name \}\}-\{\{ version \}\}.tar.gz\n url: https:\/\/pypi.io\/packages\/source\/\{\{ name\[0\] \}\}\/\{\{ name \}\}\/\{\{ name \}\}-\{\{ version \}\}.tar.gz\n sha256: \"$SHA256\"/" \
-e "/set version/d" \
-e "/set number/d" \
-e "/if number/d" \
-e "s/.*endif*./\{% set version = \"$VERSION\" /" \
dist/conda-recipe-$VERSION/meta.yaml

ssh $PKG@$SERVER 'mkdir -p ~/public_html/conda-packages'
Expand Down

0 comments on commit 0be9b09

Please # to comment.