diff options
Diffstat (limited to 'calcos')
| -rw-r--r-- | calcos/bld.bat | 4 | ||||
| -rw-r--r-- | calcos/build.sh | 4 | ||||
| -rw-r--r-- | calcos/meta.yaml | 32 | 
3 files changed, 40 insertions, 0 deletions
| diff --git a/calcos/bld.bat b/calcos/bld.bat new file mode 100644 index 0000000..5d42b68 --- /dev/null +++ b/calcos/bld.bat @@ -0,0 +1,4 @@ + + +python setup.py install +if errorlevel 1 exit 1
\ No newline at end of file diff --git a/calcos/build.sh b/calcos/build.sh new file mode 100644 index 0000000..52582b9 --- /dev/null +++ b/calcos/build.sh @@ -0,0 +1,4 @@ + +pip install --no-deps --upgrade --force d2to1 +sed -i -e 's|pyfits.*|astropy (>=0.3.1)|' setup.cfg +python setup.py install || exit 1
\ No newline at end of file diff --git a/calcos/meta.yaml b/calcos/meta.yaml new file mode 100644 index 0000000..7914c87 --- /dev/null +++ b/calcos/meta.yaml @@ -0,0 +1,32 @@ +about: +    home: https://github.com/spacetelescope/calcos +    summary: calcos +build: +    number: '0' +package: +    name: calcos +    version: 3.1.3 +requirements: +    build: +    - d2to1 +    - numpy x.x +    - astropy >=1.1 +    - scipy +    - stsci.distutils +    - stsci.tools +    - setuptools +    - python x.x +    run: +    - numpy x.x +    - astropy >=1.1 +    - scipy +    - stsci.tools +    - python x.x +source: +    git_tag: 3.1.3 +    git_url: https://github.com/spacetelescope/calcos +test: +    commands: +    - calcos --help +    imports: +    - calcos | 
