https://github.com/bear/python-twitter
Raw File
Tip revision: a9bbc654c5fe3d277cc195b19d00f0f433822507 authored by Rad on 24 December 2014, 18:59:59 UTC
Moved section up to usage
Tip revision: a9bbc65
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 twitter_test.py

back to top