Skip to content

Commit

Permalink
Merge pull request #20 from aazuspan/3.7
Browse files Browse the repository at this point in the history
Add Python 3.7 support
  • Loading branch information
aazuspan authored Dec 1, 2022
2 parents 6c94689 + d7b5edb commit 7999443
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 81 deletions.
7 changes: 0 additions & 7 deletions .bumpversion.cfg

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ __pycache__/
.coverage
htmlcov/
dist/
*.egg-info/
*.egg-info/
.tox/
43 changes: 0 additions & 43 deletions Makefile

This file was deleted.

71 changes: 69 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,70 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "eerepr"
dynamic = ["version"]
description = "Code Editor-style reprs for Earth Engine data in a Jupyter notebook."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.7"
authors = [{ name = "Aaron Zuspan" }]
keywords = [
"earthengine",
"gee",
"html",
"jupyter",
"notebook",
"reprs",
]
dependencies = [
"earthengine-api",
]

[project.optional-dependencies]
dev = [
"black",
"ipykernel",
"isort",
"jupyterlab",
"pytest",
"pytest-cov",
"hatch",
]

[project.urls]
Homepage = "https://github.com/aazuspan/eerepr"

[tool.hatch.version]
path = "eerepr/__init__.py"

[tool.hatch.build.targets.sdist]
include = ["/eerepr"]

[tool.hatch.envs.test]
dependencies = [
"earthengine-api",
"pytest",
"pytest-cov",
"tox",
]

[tool.hatch.envs.test.scripts]
tests = "pytest ."
cov = "pytest . --cov=eerepr --cov-report=html"
view-cov = "open htmlcov/index.html"
ci = "tox"

[tool.tox]
legacy_tox_ini = """
[tox]
envlist = python3.7,python3.8,python3.9,python3.10
[testenv]
deps =
pytest
pytest-cov
earthengine-api
commands = pytest
isolated_build = True
"""
28 changes: 0 additions & 28 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,43 +1,15 @@
[metadata]
name = eerepr
version = 0.0.3
url = https://github.com/aazuspan/eerepr
author = Aaron Zuspan
license_file = LICENSE
description = Code Editor-style reprs for Earth Engine data in a Jupyter notebook.
long_description = file: README.md
long_description_content_type = text/markdown
keywords =
earthengine
gee
jupyter
notebook
html
reprs

[options]
packages = find:
include_package_data = True
python_requires = >=3.8
install_requires =
earthengine-api

[options.package_data]
eerepr =
static/css/*
static/js/*

[options.extras_require]
dev =
black
isort
pytest
ipykernel
pytest-cov
jupyterlab
twine
bumpversion

[options.packages.find]
exclude =
tests

0 comments on commit 7999443

Please sign in to comment.