Add Makefile/MANIFEST.in - Resolves Issue #405

This commit is contained in:
BJ Dierkes 2016-11-23 12:37:54 -06:00
parent 2ba85f231b
commit 39853ddffb
2 changed files with 23 additions and 0 deletions

4
MANIFEST.in Normal file
View File

@ -0,0 +1,4 @@
recursive-include *.py
include setup.cfg
include README.md ChangeLog LICENSE CONTRIBUTORS
include *.txt

19
Makefile Normal file
View File

@ -0,0 +1,19 @@
.PHONY: all init doc test clean
all: init test doc clean
init:
pip install --upgrade -r requirements-dev.txt
test:
python setup.py nosetests
doc:
python setup.py build_sphinx
@echo
@echo DOC: "file://"$$(echo `pwd`/doc/build/html/index.html)
@echo
clean:
find . -name '*.py[co]' -delete
rm -rf doc/build