blob: e35cba9c4ba9b07d2cbcc735f34d6eb21f975827 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
[package]
name: stsci.image
version: {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
[about]
home: https://github.com/embray/${package:name}
license: GPL
summary: ${package:name}
#readme: README.md
[source]
git_url: ssh://git@bitbucket.org/stsci_ssb/stsci.image.git
[build]
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
# Namespace package workaround
preserve_egg_dir: yes
[requirements]
build:
d2to1
stsci.distutils
stsci.tools
stsci.convolve
setuptools
astropy >=1.1
numpy
python
run:
stsci.distutils
stsci.tools
stsci.convolve
astropy >=1.1
numpy
python
[cbc_build]
linux:
echo This d2to1 hack is deadly.
pip install --no-deps --upgrade --force d2to1 || exit 1
python setup.py install || exit 1
windows:
pip install --no-deps --upgrade --force d2to1
if errorlevel 1 exit 1
python setup.py install
if errorlevel 1 exit 1
|