Skip to content

Add recipe for pure python package pytorch-pfn-extras #29691

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
46 changes: 46 additions & 0 deletions recipes/pytorch-pfn-extras/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
context:
version: 0.8.2

package:
name: pytorch-pfn-extras
version: ${{ version }}

source:
- url: https://pypi.org/packages/source/p/pytorch-pfn-extras/pytorch_pfn_extras-${{ version }}.tar.gz
sha256: 263029baada5e9d220b7500802bb5c5ea25b115fd03766af5df03484341ee6e9

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

requirements:
host:
- python ${{ python_min }}.*
- setuptools
- wheel
- pip
run:
- python >=${{ python_min }}
- numpy
- packaging
- pytorch
- typing-extensions >=3.10

tests:
- python:
imports:
- pytorch_pfn_extras
pip_check: true
python_version: ${{ python_min }}.*

about:
summary: Supplementary components to accelerate research and development in PyTorch.
license: MIT
license_file: LICENSE
homepage: https://github.com/pfnet/pytorch-pfn-extras
repository: https://github.com/pfnet/pytorch-pfn-extras

extra:
recipe-maintainers:
- traversaro