Add utility files for packaging

This commit is contained in:
2020-10-05 10:50:41 +02:00
parent 208c165922
commit a7bbe77b11
4 changed files with 742 additions and 0 deletions

2
conda-recipe/build.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
$PYTHON setup.py install --single-version-externally-managed --record=record.txt

33
conda-recipe/meta.yaml Normal file
View File

@ -0,0 +1,33 @@
{% set data = load_setup_py_data() %}
package:
name: pyzebra
version: {{ data['version'] }}
source:
path: ..
build:
number: 0
entry_points:
- pyzebra = pyzebra.cli:main
requirements:
build:
- python
- setuptools
run:
- python
- numpy
- scipy
- h5py
- bokeh
- lmfit
- uncertainties
about:
home: https://github.com/paulscherrerinstitute/pyzebra
summary: {{ data['description'] }}
license: GNU GPLv3
license_file: LICENSE