-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a lowercase name match bug in loading standard stars.
- Loading branch information
1 parent
924a80b
commit 5935425
Showing
7 changed files
with
102 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: publish_conda | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: publish-to-conda | ||
uses: amauryval/publish_conda_package_action@1.2.0 | ||
with: | ||
# CondaDir: locate the directory containing your meta.yml, conda_build_config.yaml (...) files | ||
CondaDir: 'conda' | ||
# Channels: You can add more channel with a space separator | ||
Channels: 'conda-forge' | ||
# Platforms: remove one or more of these platforms | ||
Platforms: 'osx-64 linux-64 win-64 noarch' | ||
CondaUsername: ${{ secrets.CONDA_USERNAME }} | ||
CondaPassword: ${{ secrets.CONDA_PASSWORD }} |
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,2 @@ | ||
"%PYTHON%" setup.py install | ||
if errorlevel 1 exit 1 |
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 @@ | ||
pip install . |
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,32 @@ | ||
# get version from setup.py | ||
{% set data = load_setup_py_data(setup_file='../setup.py', from_recipe_dir=True) %} | ||
|
||
package: | ||
name: aspired | ||
version: {{ data.get('version') }} | ||
|
||
source: | ||
path: ../ | ||
|
||
build: | ||
noarch: python | ||
|
||
requirements: | ||
build: | ||
- python>=3.7 | ||
- setuptools | ||
run: | ||
{% for req in data.get('install_requires', []) %} | ||
- {{ req }} | ||
{% endfor %} | ||
|
||
test: | ||
imports: | ||
- aspired | ||
|
||
about: | ||
home: https://github.com/cylammarco/ASPIRED | ||
license: GPL-3.0 | ||
license_file: license | ||
description: The Automated SpectroPhotometric REDuction (ASPIRED) toolkit is aimed to be as general as possible with high flexibility such that it can work with different instruments. It offers a flexible set of functions for users to refine and tailor-make automated pipelines for different instruments. ASPIRED is entirely Python-based and is independent of iraf. | ||
summary: Automated SpectroPhotometric Image REDuction (ASPIRED) |
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