Skip to content

Commit

Permalink
Fix version inlining
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Apr 2, 2018
1 parent 75493b0 commit 2528177
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ test: lint install
lint:
./setup.py flake8

install:
version: hca/version.py

hca/version.py: setup.py
echo "__version__ = '$$(python setup.py --version)'" > $@

install: clean version
-rm -rf dist
python setup.py bdist_wheel
pip install --upgrade dist/*.whl
Expand All @@ -17,7 +22,10 @@ init_docs:
docs:
$(MAKE) -C docs html

clean:
-rm -rf build dist
-rm -rf *.egg-info

.PHONY: test release docs
.PHONY: test lint install release docs clean

include common.mk
2 changes: 1 addition & 1 deletion hca/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "FIXME"
__version__ = '0.0.0'

0 comments on commit 2528177

Please sign in to comment.