Skip to content

Commit

Permalink
Adding conda release
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitpagaria committed Apr 30, 2021
1 parent ae5afe7 commit d7419c2
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,10 @@ jobs:
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: publish-to-conda
uses: fcakyon/[email protected]
with:
subdir: 'conda'
anacondatoken: ${{ secrets.ANACONDA_TOKEN }}
platforms: 'win osx linux'
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<a href="https://pypi.org/project/app-store-reviews-reader">
<img src="https://img.shields.io/pypi/pyversions/app-store-reviews-reader" alt="PyPI - Python Version" />
</a>
<a href="https://anaconda.org/lalitpagaria/app-store-reviews-reader">
<img src="https://anaconda.org/lalitpagaria/app-store-reviews-reader/badges/version.svg" alt="Conda" />
</a>
<a href="https://anaconda.org/lalitpagaria/app-store-reviews-reader">
<img src="https://anaconda.org/lalitpagaria/app-store-reviews-reader/badges/downloads.svg" alt="Downloads" />
</a>
<a href="https://pypi.org/project/app-store-reviews-reader/">
<img alt="Release" src="https://img.shields.io/pypi/v/app-store-reviews-reader">
</a>
Expand Down
5 changes: 5 additions & 0 deletions conda/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
python:
- 3.6
- 3.7
- 3.8
- 3.9
42 changes: 42 additions & 0 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{% set name = "app-store-reviews-reader" %}
{% set data = load_setup_py_data() %}


package:
name: "{{ name|lower }}"
version: "{{ data['version'] }}"

source:
path: ..

build:
number: 0
script: "{{ PYTHON }} setup.py install --single-version-externally-managed --record=record.txt"

requirements:
build:
- python
- feedparser
- requests
run:
- python
- feedparser
- requests

test:
requires:
- pytest

about:
home: "{{ data[ 'url' ] }}"
license: "{{ data[ 'license' ] }}"
license_file: LICENSE
summary: "{{ data[ 'description' ] }}"
description: "{{ data[ 'description' ] }}"
dev_url: "{{ data[ 'url' ] }}"
doc_url: "{{ data[ 'url' ] }}"
doc_source_url: https://github.com/lalitpagaria/app_store_reviews_reader/blob/master/README.md

extra:
recipe-maintainers:
- lalitpagaria
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_dependency_links(filename):

setup(
name="app-store-reviews-reader",
version="1.0",
version="1.1",
author="Lalit Pagaria",
author_email="[email protected]",
description="To fetch app store reviews from publicly available RSS feeds",
Expand Down

0 comments on commit d7419c2

Please sign in to comment.