-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from kayjan/publish-to-conda
Publish to conda
- Loading branch information
Showing
12 changed files
with
197 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Upload Python Package to Conda | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Upload Python Package to PyPI"] | ||
branches: [master] | ||
types: | ||
- completed | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Conda | ||
run: | | ||
conda install -c conda-forge conda-build conda-verify | ||
- name: Publish to conda | ||
run: | | ||
cd conda | ||
conda config --set anaconda_upload yes | ||
conda build -c conda-forge --output-folder . . | ||
ls | ||
anaconda upload ./noarch/*.tar.bz2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{% set name = "bigtree" %} | ||
{% set version = "0.14.2" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/kayjan/bigtree/archive/{{ version }}.tar.gz | ||
sha256: 21f5c61a48db0c731b00e5e08a66f16e231960accf64e4ae6d80c3fc91eb9c54 | ||
|
||
build: | ||
noarch: python | ||
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation | ||
number: 0 | ||
|
||
requirements: | ||
host: | ||
- python >=3.7 | ||
- hatchling | ||
- pip | ||
run: | ||
- python >=3.7 | ||
|
||
test: | ||
imports: | ||
- bigtree | ||
commands: | ||
- pip check | ||
requires: | ||
- pip | ||
|
||
about: | ||
summary: Tree Implementation and Methods for Python, integrated with Python list, dictionary, and pandas DataFrame. | ||
license: MIT | ||
license_file: LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- kay |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: conda-env | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- pip | ||
- pytest | ||
- pytest-cov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
python: | ||
- 3.7 | ||
- 3.8 | ||
- 3.9 | ||
- 3.10 | ||
- 3.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{% set name = "bigtree" %} | ||
{% set version = "0.14.2" %} | ||
|
||
package: | ||
name: "{{ name|lower }}" | ||
version: "{{ version }}" | ||
|
||
source: | ||
url: https://github.com/kayjan/{{ name }}/archive/refs/tags/{{ version }}.tar.gz | ||
sha256: 21f5c61a48db0c731b00e5e08a66f16e231960accf64e4ae6d80c3fc91eb9c54 | ||
|
||
build: | ||
number: 0 | ||
noarch: python | ||
script: "{{ PYTHON }} -m pip install . -vv" | ||
|
||
requirements: | ||
host: | ||
- python >=3.7 | ||
- hatchling | ||
- pip | ||
run: | ||
- python >=3.8 | ||
- pandas | ||
- pydot | ||
- Pillow | ||
|
||
test: | ||
imports: | ||
- bigtree | ||
requires: | ||
- pip | ||
- pytest | ||
|
||
about: | ||
home: https://github.com/kayjan/bigtree | ||
license: MIT | ||
license_family: MIT | ||
license_file: LICENSE | ||
summary: Tree Implementation and Methods for Python, integrated with Python list, dictionary, and pandas DataFrame. | ||
doc_url: https://bigtree.readthedocs.io/en/latest/ | ||
|
||
extra: | ||
recipe-maintainers: | ||
- kayjan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: conda-env | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
- defaults | ||
dependencies: | ||
- black=22.10.0 | ||
- python=3.11.0 |