Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Raysect #27726

Merged
merged 15 commits into from
Nov 21, 2024
Merged
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
68 changes: 68 additions & 0 deletions recipes/raysect/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
context:
name: raysect
version: "0.8.1"

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

source:
url: https://github.com/${{ name|lower }}/source/archive/refs/tags/v${{ version }}.tar.gz
sha256: 6b47f06cf58e6bf021606aa3a7b42f0a200f63d8695e01a6274941dedf3685bb

build:
script: ${{ PYTHON }} -m pip install --no-build-isolation --no-deps -vv .
number: 0
skip:
- win

requirements:
build:
- ${{ compiler("c") }}
- ${{ stdlib("c") }}
- if: build_platform != target_platform
then:
- python
- cross-python_${{ target_platform }}
- setuptools
- cython <3.0
- numpy
host:
- python
- pip
- setuptools
- cython <3.0
- numpy
run:
- python
- matplotlib-base

tests:
- python:
imports:
- raysect
- raysect.core
- raysect.optical
- raysect.primitive

- script:
- if: unix
then:
- python -c "import raysect; print(raysect.__path__[0])" | xargs python -m unittest discover -v -s
- if: win
then:
- python -c "import raysect; print(raysect.__path__[0])" | python -m unittest discover -v -s ?



about:
homepage: http://www.raysect.org
summary: A Ray-tracing Framework for Science and Engineering
license: BSD-3-Clause
license_file: LICENSE.txt
documentation: http://www.raysect.org
repository: https://github.com/raysect/source.git

extra:
recipe-maintainers:
- munechika-koyo