From aa25b1a4f635bae796b809de253b820cf490bca9 Mon Sep 17 00:00:00 2001 From: Tillsa Date: Mon, 9 Oct 2023 18:10:13 +0200 Subject: [PATCH] Updated conda meta file and release instructions in Makefile --- Makefile | 6 +++- conda_package/reademption/meta.yaml | 7 ++-- reademption/meta.yaml | 51 ----------------------------- 3 files changed, 8 insertions(+), 56 deletions(-) delete mode 100644 reademption/meta.yaml diff --git a/Makefile b/Makefile index ae68848..6fcf336 100644 --- a/Makefile +++ b/Makefile @@ -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" diff --git a/conda_package/reademption/meta.yaml b/conda_package/reademption/meta.yaml index 7fcb923..bd0f39f 100644 --- a/conda_package/reademption/meta.yaml +++ b/conda_package/reademption/meta.yaml @@ -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 diff --git a/reademption/meta.yaml b/reademption/meta.yaml deleted file mode 100644 index 782edef..0000000 --- a/reademption/meta.yaml +++ /dev/null @@ -1,51 +0,0 @@ -{% set name = "reademption" %} -{% set version = "2.0.2" %} - -package: - name: "{{ name|lower }}" - version: "{{ version }}" - -source: - url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" - sha256: 8a7e96f4795561d4f5b36df277d0a93ca2a5666e1fc2b886ac714b922235a9a3 - -build: - number: 0 - script: "{{ PYTHON }} -m pip install . -vv" - -requirements: - host: - - biopython >=1.79 - - matplotlib >=3.5.2 - - pandas >=1.4.3 - - pip - - pysam >=0.19.1 - - python - - seaborn >=0.11.2 - - sphinx-argparse >=0.2.5 - run: - - biopython >=1.79 - - matplotlib >=3.5.2 - - pandas >=1.4.3 - - pysam >=0.19.1 - - python - - seaborn >=0.11.2 - - sphinx-argparse >=0.2.5 - -test: - imports: - - reademptionlib - - tests - -about: - home: The package home page - license: MIT - license_family: MIT - license_file: - summary: "A RNA-Seq Analysis Pipeline" - doc_url: - dev_url: - -extra: - recipe-maintainers: - - your-github-id-here