Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions recipes/tarts/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
channel_targets:
- conda-forge tarts_dev
54 changes: 54 additions & 0 deletions recipes/tarts/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{% set name = "tarts" %}
{% set version = "0.0.0a7" %} # Update this to your current version
{% set python_min = "3.10" %}

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

source:
url: https://github.com/PetchMa/TARTS/archive/refs/tags/v{{ version }}.tar.gz
sha256: df58ad91d27415cacf7a4ffeeb5cd6e248cba7a8f210db890af3e88ef6a723dd

build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation"

requirements:
host:
- python {{ python_min }}
- pip
- setuptools
run:
- python >={{ python_min }}
- numpy
- scipy
- matplotlib-base
- pytorch
- pytorch-lightning
- pyyaml
- torchvision
- astropy-base
- pandas
- gitpython

test:
requires:
- python {{ python_min }}
- pip
imports:
- TARTS
- TARTS.NeuralActiveOpticsSys
commands:
- pip check

about:
home: https://github.com/PetchMa/TARTS
license: MIT
license_file: LICENSE
summary: "Neural Active Optics System for LSST telescope"

extra:
recipe-maintainers:
- PetchMa