Skip to content
Snippets Groups Projects
Commit 6365b42f authored by myron's avatar myron
Browse files

aded conda recipe

parent 625a7b5d
Branches restructure
No related tags found
No related merge requests found
#!/usr/bin/env bash
${PYTHON} -m pip install . --no-deps --ignore-installed -vv
blas_impl:
- mkl # [x86_64]
c_compiler:
- vs2019 # [win]
cxx_compiler:
- vs2019 # [win]
python:
# - 3.8
- 3.9
# This differs from target_platform in that it determines what subdir the compiler
# will target, not what subdir the compiler package will be itself.
# For example, we need a win-64 vs2008_win-32 package, so that we compile win-32
# code on win-64 miniconda.
cross_compiler_target_platform:
- win-64 # [win]
target_platform:
- win-64 # [win]
vc:
- 14
zip_keys:
- # [win]
- vc # [win]
- c_compiler # [win]
- cxx_compiler # [win]
{% set version = "1.1" %}
{% set pname = "ab2tds" %}
{% set PY_VER_MAJOR = PY_VER[0] %}
{% set PY_VER_MINOR = PY_VER[2] %}
package:
name: {{ pname }}
version: {{ version }}
source:
path: ../../
# git_url: /home/aless/src/amarcord
# git_tag: master
# git_depth: 1 # (Defaults to -1/not shallow)
# git_url: https://github.com/esc24/iris.git
# git_tag: udunits_xml_path tag oppure hash
build:
number: 1
string: py{{ PY_VER_MAJOR }}{{ PY_VER_MINOR }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
script_env:
- PNAME={{ pname }}
# run_exports:
# # https://abi-laboratory.pro/index.php?view=timeline&l=opencv
# # Things seem to change every patch versions, mostly the dnn module
# - {{ pin_subpackage('libopencv', max_pin='x.x.x') }}
# ignore_run_exports_from:
# - python
requirements:
host:
- python {{ python }}
- numpy
- pip
- openmpi
- mpi4py
build:
- git
- python
- numpy
run:
- python
- numpy
- mpi4py
- PyMca
- h5py
- scipy
- matplotlib
- PyYaml
test:
imports:
- {{ pname }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment