Revision b431a38d5a95a58c38a13e64d914c8e7d7bfa832 authored by Mike Taylor on 06 December 2015, 21:32:41 UTC, committed by Mike Taylor on 06 December 2015, 21:32:41 UTC
Updates Media object with new methods, adds id param, adds tests
2 parent s 7457f1e + c63dab4
Raw File
Makefile
.PHONY: docs test

help:
	@echo "  env         create a development environment using virtualenv"
	@echo "  deps        install dependencies"
	@echo "  clean       remove unwanted stuff"
	@echo "  lint        check style with flake8"
	@echo "  test        run tests"

env:
	sudo easy_install pip && \
	pip install virtualenv && \
	virtualenv env && \
	. env/bin/activate && \
	make deps

deps:
	pip install -r requirements.txt --use-mirrors

clean:
	rm -fr build
	rm -fr dist
	find . -name '*.pyc' -exec rm -f {} \;
	find . -name '*.pyo' -exec rm -f {} \;
	find . -name '*~' -exec rm -f {} \;

lint:
	flake8 twitter > violations.flake8.txt

test:
	python test.py

upload: clean
	python setup.py sdist upload
	python setup.py bdist_wheel upload
back to top