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

Added pygod as a package. #18663

Merged
merged 8 commits into from
Apr 19, 2022
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
53 changes: 53 additions & 0 deletions recipes/pygod/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{% set name = "pygod" %}
{% set version = "0.1.1" %}

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

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pygod-{{ version }}.tar.gz
sha256: 801479cf290b9133c6dc7e9782563df7cae621dd337119ba2c3bb590182dafc5

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

requirements:
host:
- pip
- python >=3.7
- setuptools >=38.6.0
run:
- numpy >=1.19.4
- networkx
- python >=3.7
- pytorch >=1.10.0
- pytorch_geometric >=2.0.3
- scikit-learn >=0.22.1
- scipy >=1.5.2
- setuptools >=50.3.1.post20201107

test:
imports:
- pygod
- pygod.models
- pygod.utils
commands:
- pip list | grep -E "{{ name }}\s+{{ version }}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need this. Leaving the pip check commented out is fine. That will help us remember to re-enable it when upstream is fixed.

requires:
- pip
- m2-grep # [win]

about:
home: https://pygod.org/
dev_url: https://github.com/pygod-team/pygod/
doc_url: https://docs.pygod.org/en/latest/
summary: A Python Library for Graph Outlier Detection (Anomaly Detection)
license: BSD-2-Clause
license_file: LICENSE

extra:
recipe-maintainers:
- thewchan