Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.7 support #20

Merged
merged 1 commit into from
Dec 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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