forked from turicas/rows
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (31 loc) · 728 Bytes
/
Copy pathMakefile
File metadata and controls
41 lines (31 loc) · 728 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
33
34
35
36
37
38
39
40
41
envtest: clean
nosetests tests/
test:
tox
clean:
find -regex '.*\.pyc' -exec rm {} \;
find -regex '.*~' -exec rm {} \;
rm -rf reg-settings.py
rm -rf MANIFEST dist build *.egg-info
rm -rf rows.1
rm -rf .tox
coverage erase
fix-imports:
autoflake --in-place --recursive --remove-unused-variables --remove-all-unused-imports .
isort -rc .
install:
make clean
make uninstall
python setup.py install
uninstall:
pip uninstall -y rows
lint:
pylint rows/*.py
lint-tests:
pylint tests/*.py
man:
head -1 rows.1.txt > rows.1
txt2man rows.1.txt | egrep -v '^\.TH' >> rows.1
release:
python setup.py bdist bdist_wheel bdist_egg upload
.PHONY: test clean fix-imports lint lint-tests install uninstall man release