Skip to content

Commit

Permalink
Updated rattler-build recipe.yaml to v0.13.0, using github for source
Browse files Browse the repository at this point in the history
  • Loading branch information
perwin committed Jun 1, 2024
1 parent 04d22c7 commit 92d6a73
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
10 changes: 7 additions & 3 deletions conda/rattler_setup/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# recipe file for use by rattler-config in building conda packages for pyimfit

context:
version: 0.12.2
version: 0.13.0

package:
name: pyimfit
Expand All @@ -10,8 +10,9 @@ package:
# https://pypi.io/packages/source/{ package_name_first_letter }/{ package_name }/{ package_name }-{ package_version }.tar.gz

source:
url: https://pypi.io/packages/source/p/pyimfit/pyimfit-${{ version }}.tar.gz
sha256: c36b38203786f1c955b6c7f2e95288b761ba789cef006ea42cd68201a052958e
# url: https://pypi.io/packages/source/p/pyimfit/pyimfit-${{ version }}.tar.gz
# sha256: c36b38203786f1c955b6c7f2e95288b761ba789cef006ea42cd68201a052958e
git: https://github.com/perwin/pyimfit.git


build:
Expand Down Expand Up @@ -42,7 +43,10 @@ requirements:
# - pyimfit

about:
homepage: https://github.com/perwin/pyimfit
repository: https://github.com/perwin/pyimfit
license: GPL-3.0
license_family: GPL
summary: Python wrapper for the astronomical image-fitting program Imfit
description: Python wrapper for Imfit, a program for fast fitting of astronomica images
documentation: https://pyimfit.readthedocs.io
21 changes: 20 additions & 1 deletion howto_new_distribution.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,23 @@ Working by default in ~/coding/pyimfit on Mac.
B. For real:
$ ./make_upload.sh x.x.x [where "x.x.x" = version number]

10. Test installation via pip
9. Test installation via pip

10. Generate conda packages on Mac

11. Generate conda packages on Linux VM
A. [vm] cd /home/vagrant/build/pyimfit
B. [vm] git pull origin master [if necessary]
C. [vm] cd conda
D. [vm] rattler-build build --recipe ./rattler_setup --variant-config ./rattler_setup/variant_config.yaml
E. [vm] cd output
F. [vm] tar -cf linux-64.tar linux-64 && gzip linux-64.tar
G. [vm] cp linux-64.tar.gz /vagrant/transfer/
H. [mac] cd /Users/erwin/coding/pyimfit/conda
I. [mac] tar -xf ~/vagrant/iraf/transfer/linux-64.tar.gz -C output

12. Upload conda packages to anaconda
A. conda activate
B. anaconda login
C. anaconda upload output/osx-64/pyimfit-*.conda output/linux-64/pyimfit-*.conda

0 comments on commit 92d6a73

Please sign in to comment.