-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (24 loc) · 674 Bytes
/
Makefile
File metadata and controls
32 lines (24 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SHELL := /bin/bash
# these files should pass pyflakes
# exclude ./env/, which may contain virtualenv packages
PYFLAKES_WHITELIST=$(shell find . -name "*.py" ! -path "./docs/*" \
! -path "./.tox/*" ! -path "./pylink/__init__.py" \
! -path "./env/*" ! -path "./pylink/compat.py")
env:
rm ./env -fr
virtualenv ./env
/bin/bash -c 'source ./env/bin/activate ; pip install pep8 ; \
pip install pyflakes ; \
pip install tox ; pip install -e . '
test:
tox
pyflakes:
pyflakes ${PYFLAKES_WHITELIST}
pep:
pep8 --first pylink
clean:
git clean -Xfd
dist:
python setup.py sdist
upload:
python setup.py sdist upload