Skip to content

Latest commit

 

History

212 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geometric loss functions between point clouds, images and volumes

Please check our website!

Packaging and Release Checklist

This project now uses pyproject.toml with setuptools (PEP 517).

  1. Clean previous build artifacts:
rm -rf build dist geomloss.egg-info
find . -type d -name "__pycache__" -prune -exec rm -rf {} +
  1. Build distribution artifacts:
python -m pip install --upgrade build
python -m build
  1. Inspect generated metadata (optional quick check):
python - <<'PY'
import zipfile
from pathlib import Path
wheel = max(Path("dist").glob("geomloss-*.whl"), key=lambda p: p.stat().st_mtime)
with zipfile.ZipFile(wheel) as zf:
	meta = zf.read(next(n for n in zf.namelist() if n.endswith(".dist-info/METADATA"))).decode()
for line in meta.splitlines():
	if line.startswith(("Name:", "Version:", "Requires-Python:", "Requires-Dist:", "Provides-Extra:")):
		print(line)
PY
  1. Test local installs:
python -m pip install .
python -m pip install ".[full]"
  1. Smoke-test import:
python -c "import geomloss; print(geomloss.__version__)"

About

Geometric loss functions between point clouds, images and volumes

Resources

Stars

711 stars

Watchers

14 watching

Forks

Releases

Packages

Used by

Contributors

Languages