https://github.com/bear/python-twitter
Revision ea424449100050ab82868e470818772b67e71ed0 authored by Jeremy Low on 29 January 2016, 11:56:25 UTC, committed by Jeremy Low on 29 January 2016, 12:03:06 UTC
1 parent a168585
Raw File
Tip revision: ea424449100050ab82868e470818772b67e71ed0 authored by Jeremy Low on 29 January 2016, 11:56:25 UTC
intermediate work on Api.*Lists*() methods with fixes for decoding/long py3 errors
Tip revision: ea42444
Makefile

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 "  coverage    run tests with code coverage"
	@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

coverage:
	nosetests --with-coverage --cover-package=twitter

test:
	nosetests

build: clean
	python setup.py sdist
	python setup.py bdist_wheel

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