Skip to content

Commit

Permalink
Merge pull request #1 from ecederstrand/patch-1
Browse files Browse the repository at this point in the history
Allow pip install using git
  • Loading branch information
gerwout authored Jul 21, 2022
2 parents ba139d6 + 839ab83 commit b10e6bf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

5 changes: 5 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
THEMESDIR = _themes

# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
Expand Down Expand Up @@ -52,6 +53,10 @@ help:
.PHONY: clean
clean:
rm -rf $(BUILDDIR)/*
rm -rf $(THEMESDIR)/*
git clone git://github.com/mitsuhiko/flask-sphinx-themes.git $(THEMESDIR)
@echo
@echo "Clones Sphinx themes into $(THEMESDIR)"

.PHONY: html
html:
Expand Down
1 change: 0 additions & 1 deletion docs/_themes
Submodule _themes deleted from 1cc446
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import setup

# This check is to make sure we checkout docs/_themes before running sdist
if not os.path.exists("./docs/_themes/README"):
if "sdist" in sys.argv and not os.path.exists("./docs/_themes/README"):
print('Please make sure you have docs/_themes checked out while running setup.py!')
if os.path.exists('.git'):
print('You seem to be using a git checkout, please execute the following commands to get the docs/_themes directory:')
Expand Down

0 comments on commit b10e6bf

Please sign in to comment.