Skip to content

Commit

Permalink
Fix missing paths.py in sdist and wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
gsemet committed Jul 16, 2018
1 parent b629c53 commit cdea1fe
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
prune .github
prune git-hooks
prune releasenotes
include guake *
prune guake/tests
exclude guake/paths.py.in
include guake/paths.py
22 changes: 16 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,16 +191,17 @@ sc: style check
dists: update-po requirements prepare-install rm-dists sdist bdist wheels
build: dists

sdist:
pipenv run python setup.py sdist
sdist: generate-paths
export SKIP_GIT_SDIST=1 && pipenv run python setup.py sdist

rm-dists:
rm -rf build dist

bdist:
pipenv run python setup.py bdist
bdist: generate-paths
# pipenv run python setup.py bdist
@echo "Ignoring build of bdist package"

wheels:
wheels: generate-paths
pipenv run python setup.py bdist_wheel

wheel: wheels
Expand All @@ -222,7 +223,16 @@ test:
test-coverage:
pipenv run py.test -v --cov $(MODULE) --cov-report term-missing

test-pip-install: wheel generate-paths
test-pip-install-sdist: generate-paths sdist
@echo "Testing installation by pip (will install on ~/.local)"
@rm -rfv ~/.local/guake
@rm -rfv ~/.local/lib/python3.*/site-packages/guake
@rm -rfv ~/.local/share/guake
pip install --upgrade -vvv --user $(shell ls -1 dist/*.tar.gz | sort | head -n 1)
ls -la ~/.local/share/guake
~/.local/bin/guake

test-pip-install-wheel: generate-paths wheel
@echo "Testing installation by pip (will install on ~/.local)"
@rm -rfv ~/.local/guake
@rm -rfv ~/.local/lib/python3.*/site-packages/guake
Expand Down

0 comments on commit cdea1fe

Please sign in to comment.