Skip to content
Snippets Groups Projects
Commit ecd43c6b authored by amystamile-usgs's avatar amystamile-usgs
Browse files

more conda-forge updates

parent 333c9442
No related branches found
No related tags found
No related merge requests found
#!/bin/bash mkdir build_core install_core
mkdir build cd build_core
cd build
export ISISROOT=$PWD export ISISROOT=$PWD
cmake -GNinja -DJP2KFLAG=ON -Dpybindings=OFF -DKAKADU_INCLUDE_DIR=/isisData/kakadu -DbuildTests=OFF -DCMAKE_BUILD_TYPE=Release -DISIS_BUILD_SWIG=ON -DCMAKE_INSTALL_PREFIX=$PREFIX ../isis/src/core
ninja install cmake -GNinja -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DISIS_BUILD_SWIG=ON -DCMAKE_INSTALL_PREFIX=../install_core ../isis/src/core
cd ${SRC_DIR}/build/swig/python ninja core && ninja install
python setup.py install cd swig/python/
${PYTHON} setup.py install
\ No newline at end of file
{% set version = "8.3.0" %} {% set version = "9.0.0" %}
{% set build_number = "0" %} {% set build_number = "0" %}
package: package:
...@@ -8,6 +8,8 @@ package: ...@@ -8,6 +8,8 @@ package:
source: source:
url: https://github.com/DOI-USGS/ISIS3/archive/{{ version }}.tar.gz url: https://github.com/DOI-USGS/ISIS3/archive/{{ version }}.tar.gz
sha256: 394ba889ceef5aaebc25e0e28f084209defb2c724e291ab86a587181bf095c7a sha256: 394ba889ceef5aaebc25e0e28f084209defb2c724e291ab86a587181bf095c7a
# git_url: https://github.com/DOI-USGS/ISIS3.git
# git_branch: new_pvl_core
build: build:
skip: true # [win] skip: true # [win]
...@@ -15,25 +17,26 @@ build: ...@@ -15,25 +17,26 @@ build:
requirements: requirements:
build: build:
- python - {{ compiler("cxx") }}
- {{ stdlib("c") }}
- cmake >=3.27,<3.28 - cmake >=3.27,<3.28
- cxx-compiler =1.1.2
- ninja - ninja
- python =3.11
- setuptools
host: host:
- mesalib - mesalib
- nlohmann_json - nlohmann_json
- python - python =3.11
- qt-main >=5.15.8, <5.16 - qt-main >=5.15.8, <5.16
- setuptools
- swig - swig
run: run:
- python - python =3.11
- mesalib - mesalib
- {{ pin_compatible('qt-main', max_pin='x.x') }} - {{ pin_compatible('qt-main', max_pin='x.x') }}
- {{ pin_compatible('nlohmann_json', min_pin='x.x', max_pin='x.x') }} - {{ pin_compatible('nlohmann_json', min_pin='x.x', max_pin='x.x') }}
test: test:
imports:
- isisio
commands: commands:
- test -e $PREFIX/lib/libcore${SHLIB_EXT} - test -e $PREFIX/lib/libcore${SHLIB_EXT}
- test -e $PREFIX/include/isis/Pvl.h - test -e $PREFIX/include/isis/Pvl.h
...@@ -42,7 +45,7 @@ about: ...@@ -42,7 +45,7 @@ about:
home: https://github.com/DOI-USGS/ISIS3 home: https://github.com/DOI-USGS/ISIS3
license: CC0-1.0 license: CC0-1.0
license_file: LICENSE.md license_file: LICENSE.md
summary: "Integrated Software for Imagers and Spectrometers" summary: "ISIS Core"
extra: extra:
recipe-maintainers: recipe-maintainers:
......
...@@ -3,7 +3,7 @@ import setuptools ...@@ -3,7 +3,7 @@ import setuptools
if __name__ == '__main__': if __name__ == '__main__':
setuptools.setup( setuptools.setup(
name='isiscore', name='isiscore',
version='1.0.0', version='9.0.0',
packages=['isiscore'], packages=['isiscore'],
package_data={'':['_isiscore.so']}, package_data={'':['_isiscore.so']},
zip_safe=False, # Some OSes can not dynamically load an so from an egg (zipfile) zip_safe=False, # Some OSes can not dynamically load an so from an egg (zipfile)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment