-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
45 lines (34 loc) · 851 Bytes
/
Makefile
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
42
43
44
45
# Makefile for the Emission library
#
#
.PHONY: doc
default:
@echo "Targets:"
@echo " all: test, bdist"
@echo " bdist: make .whl file for distribution"
@echo " test: run test suite"
@echo " publish: publish / distribute wheel package to PyPI"
@echo " clean: remove .pyc files, build, dist dirs"
@echo " install: install develop build of this module (development)"
@echo " uninstall: uninstall develop build of this module (development)"
all: test bdist
test:
py.test tests
# Install in develop mode
# (require setuptools)
install:
python setup.py develop --no-deps
# Uninstall develop mode
uninstall:
python setup.py develop --no-deps --uninstall
publish:
python setup.py publish
bdist: build
python setup.py bdist_wheel
build:
python setup.py build
clean:
rm -rf build
rm -rf dist
rm -rf emission/*.pyc
help: default