Skip to content

Commit

Permalink
Updated conda meta file and release instructions in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tillsa committed Oct 9, 2023
1 parent 33093f5 commit aa25b1a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 56 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,12 @@ new_release:
@echo "If the automatic update did not work go to read the docs"
" - login and hit 'build'"
@echo "*create conda package"
@echo "*remove the old yaml file in reademption/meta.yaml"
@echo "rm reademption/meta.yaml"
@echo "conda skeleton pypi reademption"
@echo "replace yaml file from reademption with the one in folder conda_package/reademption"
@echo "*replace yaml file from reademption with the one in folder conda_package/reademption"
@echo "mv reademption/meta.yaml conda_package/reademption/meta.yaml"
@ echo "To avoid connection error while building the package got to pypi reademption page and copy the download link under Downloaded files for READemption-2.0.4.tar.gz and paste it into conda_package/reademption/meta.yaml under url"
@echo "conda-build --python 3.9 conda_package/reademption"
@echo "if necessary install anaconda client"
@echo " conda install anaconda-client"
Expand Down
7 changes: 3 additions & 4 deletions conda_package/reademption/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{% set name = "reademption" %}
{% set version = "2.0.3" %}
{% set version = "2.0.4" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
#url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
url: "https://files.pythonhosted.org/packages/e5/84/1705e6e2e85a47989ea1751dddca5c571e416f5a4fb8eb7d4bd0dd9860b3/READemption-2.0.3.tar.gz"
sha256: 51efda9a2b7d81facae07c6787266458e7c7ebfde5aaaf14d8538253231fc3b7
url: "https://files.pythonhosted.org/packages/f4/59/07ef707b9b3bf9e7d392b7c09508f37037990fa9ae22b473149269ff11d3/READemption-2.0.4.tar.gz"
sha256: e6ceb39a01b289e89b6d7cebd79ffb5b09679fd9255c621fc6e33450afb96345

build:
number: 0
Expand Down
51 changes: 0 additions & 51 deletions reademption/meta.yaml

This file was deleted.

0 comments on commit aa25b1a

Please sign in to comment.