Skip to content

Commit

Permalink
add boto3 in the requirements (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago authored Jul 23, 2020
1 parent 36873ee commit 94e5553
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 24 deletions.
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2.0b2 (2020-07-23)
------------------
- add boto3 in the dependency (#201)

2.0b1 (2020-07-22)
------------------
- switch to ContextManager for COG and STAC (rio_cogeo.io.COGReader, rio_cogeo.io.STACReader).
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
boto3

dataclasses>=0.6;python_version<'3.7'

numpy
numexpr
numpy

mercantile

rasterio[s3]>=1.1.3

dataclasses>=0.6;python_version<'3.7'
rasterio>=1.1.3

requests
20 changes: 7 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,23 @@

# Runtime requirements.
inst_reqs = [
"numpy",
"boto3",
"dataclasses>=0.6;python_version<'3.7'",
"numexpr",
"numpy",
"mercantile",
"rasterio[s3]>=1.1.3",
"dataclasses>=0.6;python_version<'3.7'",
"rasterio>=1.1.3",
"requests",
]

extra_reqs = {
"test": ["mock", "pytest", "pytest-benchmark", "pytest-cov", "rio-cogeo"],
"dev": [
"mock",
"pytest",
"pytest-benchmark",
"pytest-cov",
"rio-cogeo",
"pre-commit",
],
"test": ["pytest", "pytest-benchmark", "pytest-cov", "rio-cogeo"],
"dev": ["pytest", "pytest-benchmark", "pytest-cov", "rio-cogeo", "pre-commit"],
}

setup(
name="rio-tiler",
version="2.0b1",
version="2.0b2",
python_requires=">=3",
description=u"""Rasterio plugin to read mercator tiles from Cloud Optimized GeoTIFF.""",
long_description=readme,
Expand Down
6 changes: 0 additions & 6 deletions tests/test_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
from rio_tiler import constants, reader
from rio_tiler.errors import AlphaBandWarning, TileOutsideBounds

LANDSAT_SCENE_C1 = "LC08_L1TP_016037_20170813_20170814_01_RT"
LANDSAT_BUCKET = os.path.join(os.path.dirname(__file__), "fixtures", "landsat-pds")
LANDSAT_PATH = os.path.join(
LANDSAT_BUCKET, "c1", "L8", "016", "037", LANDSAT_SCENE_C1, LANDSAT_SCENE_C1
)

S3_KEY = "hro_sources/colorado/201404_13SED190110_201404_0x1500m_CL_1.tif"
S3_KEY_ALPHA = "hro_sources/colorado/201404_13SED190110_201404_0x1500m_CL_1_alpha.tif"
S3_KEY_NODATA = "hro_sources/colorado/201404_13SED190110_201404_0x1500m_CL_1_nodata.tif"
Expand Down

0 comments on commit 94e5553

Please sign in to comment.