Create image galleries in Sphinx with Galleria
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
383 B

PYTHON = python3
SRCDIR = .
DISTDIR = ./dist
BUILDDIR = ./build
all: sdist wheel
clean:
rm -rf *.egg-info dist build
sdist:
$(PYTHON) -m build $(SRCDIR) -o $(DISTDIR) -sn
wheel:
$(PYTHON) -m build $(SRCDIR) -o $(BUILDDIR) -wn
install:
pip uninstall -y sphinx-galleria
pip install $(DISTDIR)/sphinx_galleria-`cat $(SRCDIR)/VERSION`.tar.gz
.PHONY: clean sdist wheel install