From a1b36938844eb0b04c8b65ec777eeb8a802c88d9 Mon Sep 17 00:00:00 2001 From: iamtekson Date: Thu, 19 May 2022 11:21:56 +0700 Subject: [PATCH] conda recipe --- conda-recipe/bld.bat | 2 ++ conda-recipe/build.sh | 1 + conda-recipe/meta.yml | 31 +++++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 conda-recipe/bld.bat create mode 100644 conda-recipe/build.sh create mode 100644 conda-recipe/meta.yml diff --git a/conda-recipe/bld.bat b/conda-recipe/bld.bat new file mode 100644 index 000000000..c492c905d --- /dev/null +++ b/conda-recipe/bld.bat @@ -0,0 +1,2 @@ +cd %RECIPE_DIR%\.. +%PYTHON% setup.py install --single-version-externally-managed --record=record.txt \ No newline at end of file diff --git a/conda-recipe/build.sh b/conda-recipe/build.sh new file mode 100644 index 000000000..ee2375615 --- /dev/null +++ b/conda-recipe/build.sh @@ -0,0 +1 @@ +$PYTHON setup.py install \ No newline at end of file diff --git a/conda-recipe/meta.yml b/conda-recipe/meta.yml new file mode 100644 index 000000000..57fdbf0ae --- /dev/null +++ b/conda-recipe/meta.yml @@ -0,0 +1,31 @@ +{% set data = load_setup_py_data() %} +package: + name: "pyaez" + version: {{ data.get('version') }} + +source: + path: ./../ + +requirements: + build: + - python + - setuptools + + run: + - python + - setuptools + - numpy + - scipy + - gdal + - numba + +about: + home: https://github.com/gicait/PyAEZ + license: MIT + license_familY: MIT + license_file: LICENSE + summary: "PyAEZ is a python package consisted of many algorithms related to Agro-ecalogical zoning (AEZ) framework. PyAEZ tries to encapsulate all complex calculations in AEZ and try to provide user friendly, and intuitive ways to input data and output results after calculations." + +extra: + recipe-maintainers: + - iamtekson \ No newline at end of file