-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmakefile
More file actions
36 lines (30 loc) · 732 Bytes
/
makefile
File metadata and controls
36 lines (30 loc) · 732 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
# HTMLTree makefile
.PHONY : help
help:
@echo 'Usage: make <subcommand>'
@echo ''
@echo 'Subcommands:'
@echo ' install Install HTMLTree locally'
@echo ' release Register and upload a new release to PyPI'
@echo ' build Build a source distribution'
@echo ' test Run all tests'
@echo ' clean Clean up the source directories'
.PHONY : install
install:
python setup.py install
.PHONY : release
deploy:
python setup.py register
python setup.py sdist --formats zip,gztar bdist_wheel upload
.PHONY : build
build:
python setup.py sdist --formats zip,gztar bdist_wheel
.PHONY : test
test:
tox
.PHONY : clean
clean:
rm -f MANIFEST
rm -f *.pyc
rm -rf build
rm -rf dist