build:
	python setup.py sdist

readme:
	pandoc --from=markdown --to=rst --output=README.rst README.md

test-units:
	green -vv

test-install:
	yes | conda create -p testenv python=2.7
	source activate "`pwd`/testenv"
	pip install .
	source deactivate "`pwd`/testenv"
	rm -rf testenv

upload:
	twine upload -r ya "dist/`ls -t dist/ | head -n 1`"

install:
	pip install .

install-dev:
	pip install -e .[dev]

uninstall:
	yes | pip uninstall ta-report

clean:
	rm -rf dist
	rm -rf testenv
	rm -rf ta_report.egg-info
