diff --git a/recipes/crypten/LICENSE b/recipes/crypten/LICENSE new file mode 100644 index 0000000000000..b96dcb0480a0b --- /dev/null +++ b/recipes/crypten/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Facebook, Inc. and its affiliates. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/recipes/crypten/meta.yaml b/recipes/crypten/meta.yaml new file mode 100644 index 0000000000000..2c86623dbfe4f --- /dev/null +++ b/recipes/crypten/meta.yaml @@ -0,0 +1,53 @@ +{% set name = "crypten" %} +{% set version = "0.4.0" %} + + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: f9d76bc0ba1468cb77261b8d5486ee875266363310353a18aba948429aa24fda + - url: https://raw.githubusercontent.com/facebookresearch/CrypTen/main/requirements.txt + sha256: 14569c02e2bb5233d9d75a13646a7e9eaee0a1bcc8e7ffe4044ad9a3511d8eca + +build: + number: 0 + noarch: python + script: {{ PYTHON }} -m pip install . -vv + +requirements: + host: + - pip + - python >=3.6 + - setuptools + - pytest-runner # https://github.com/facebookresearch/CrypTen/issues/351 + run: + - future + - setuptools + - omegaconf >=2.0.6 + - onnx >=1.7.0 + - pandas >=1.2.2 + - python >=3.6 + - pyyaml >=5.3.1 + - scipy >=1.6.0 + - scikit-learn + - tensorboard + - pytorch >=1.7.0 + - torchvision >=0.9.1 + +test: + imports: + - crypten + +about: + home: https://github.com/facebookresearch/CrypTen + summary: 'CrypTen: secure machine learning in PyTorch.' + license: MIT + license_family: MIT + license_file: LICENSE + +extra: + recipe-maintainers: + - sarthakpati