Initial move of code from git repo.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# My make-fu style is old and tired. I just want to have a few helper commands.
|
||||
|
||||
TESTDIR = ./test00
|
||||
|
||||
.PHONY: clean sdist test docs
|
||||
|
||||
|
||||
clean:
|
||||
$(RM) -r Joypy.egg-info/ dist/ $(TESTDIR)
|
||||
find . -name '*.pyc' | xargs $(RM)
|
||||
|
||||
sdist:
|
||||
python ./setup.py sdist
|
||||
|
||||
test: sdist
|
||||
$(RM) -r $(TESTDIR)
|
||||
virtualenv --system-site-packages --never-download $(TESTDIR)
|
||||
. $(TESTDIR)/bin/activate && \
|
||||
pip install --no-cache-dir --no-index ./dist/Joypy-0.1.tar.gz
|
||||
echo "Type: source $(TESTDIR)/bin/activate"
|
||||
|
||||
|
||||
docs:
|
||||
cd ./docs && python -m nbconvert --to html *.ipynb
|
||||
cd ./docs && python -m nbconvert --to markdown *.ipynb
|
||||
Reference in New Issue
Block a user