Skip to content
Snippets Groups Projects
Commit b716ac03 authored by Jason R Laura's avatar Jason R Laura
Browse files
parents 144f9433 acbe121f
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,8 @@ Planetary Input / Output ...@@ -12,7 +12,8 @@ Planetary Input / Output
.. image:: https://travis-ci.org/USGS-Astrogeology/plio.svg?branch=master .. image:: https://travis-ci.org/USGS-Astrogeology/plio.svg?branch=master
:target: https://travis-ci.org/USGS-Astrogeology/plio :target: https://travis-ci.org/USGS-Astrogeology/plio
.. image:: https://coveralls.io/repos/github/USGS-Astrogeology/plio/badge.svg?branch=master :target: https://coveralls.io/github/USGS-Astrogeology/plio?branch=master .. image:: https://coveralls.io/repos/github/USGS-Astrogeology/plio/badge.svg?branch=master
:target: https://coveralls.io/github/USGS-Astrogeology/plio?branch=master
.. image:: https://readthedocs.org/projects/plio/badge/?version=latest .. image:: https://readthedocs.org/projects/plio/badge/?version=latest
:target: http://plio.readthedocs.io/en/latest/?badge=latest :target: http://plio.readthedocs.io/en/latest/?badge=latest
......
#!/bin/bash
$PYTHON setup.py install
...@@ -3,15 +3,21 @@ package: ...@@ -3,15 +3,21 @@ package:
version: 0.1.0 version: 0.1.0
source: source:
git_url: https://github.com/USGS-Astrogeology/plio.git path: ../
build:
number: 0
skip: true #[win]
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements: requirements:
build: build:
- python - python
- setuptools
- numpy - numpy
- pvl - pvl
- protobuf 3.0.0b2 - protobuf 3.0.0b2
- gdal >=2 - gdal
- icu - icu
- h5py - h5py
- pandas - pandas
...@@ -19,14 +25,21 @@ requirements: ...@@ -19,14 +25,21 @@ requirements:
- pyyaml - pyyaml
run: run:
- python - python
- setuptools
- numpy - numpy
- pvl - pvl
- protobuf 3.0.0b2 - protobuf 3.0.0b2
- gdal >=2 - gdal
- icu - icu
- h5py - h5py
- pandas - pandas
- sqlalchemy - sqlalchemy
- pyyaml - pyyaml
test:
imports:
- plio
about:
home: http://github.com/USGS-Astrogeology/plio
license: Public Domain
...@@ -567,7 +567,8 @@ def match_rasters(match_to, match_from, destination, ...@@ -567,7 +567,8 @@ def match_rasters(match_to, match_from, destination,
match_from__srs = match_from.dataset.GetProjection() match_from__srs = match_from.dataset.GetProjection()
match_from__gt = match_from.geotransform match_from__gt = match_from.geotransform
dst = gdal.GetDriverByName('GTiff').Create(destination, width, height, 1, gdalconst.GDT_Float32) dst = gdal.GetDriverByName('GTiff').Create(destination, width, height, match_from.RasterCount,
gdalconst.GDT_Float32)
dst.SetGeoTransform(match_to_gt) dst.SetGeoTransform(match_to_gt)
dst.SetProjection(match_to_srs) dst.SetProjection(match_to_srs)
......
...@@ -37,13 +37,16 @@ def setup_package(): ...@@ -37,13 +37,16 @@ def setup_package():
['sqlalchemy_json/*.py', 'sqlalchemy_json/LICENSE']}, ['sqlalchemy_json/*.py', 'sqlalchemy_json/LICENSE']},
zip_safe=False, zip_safe=False,
install_requires=[ install_requires=[
'gdal>=2', 'gdal',
'numpy',
'pvl', 'pvl',
'protobuf==3.0.0b2', 'protobuf==3.0.0b2',
'h5py', 'h5py',
'icu',
'pandas', 'pandas',
'sqlalchemy', 'sqlalchemy',
'pyyaml'], 'pyyaml',
'certifi'],
classifiers=[ classifiers=[
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
"Topic :: Utilities", "Topic :: Utilities",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment