conda build

This commit is contained in:
Erik Frojdh
2019-03-15 14:23:51 +01:00
parent c93b78c74f
commit 4e94995142
11 changed files with 51 additions and 30 deletions

View File

@ -0,0 +1,2 @@
"%PYTHON%" setup.py install
if errorlevel 1 exit 1

View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
${PYTHON} setup.py install # Python command to install the script

View File

@ -0,0 +1,4 @@
python:
- 3.5
- 3.6
- 3.7

View File

@ -0,0 +1,4 @@
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: osx-64

View File

@ -0,0 +1,43 @@
package:
name: sls_detector
version: refactor
build:
number: 0
source:
path: ..
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake
- python {{ python }}
- libpng >=1.6.32,<1.6.35
- setuptools
- sls_detector_lib refactor
- pyzmq
- pybind11 2.2
host:
- python
- pybind11 2.2
run:
- python
- numpy
- sls_detector_lib refactor
- pyzmq
- libstdcxx-ng
- libgcc-ng
test:
imports:
- sls_detector
about:
summary: "Interacting with detectors"