-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (28 loc) · 730 Bytes
/
Makefile
File metadata and controls
36 lines (28 loc) · 730 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
# Just for convenience
.PHONY: build test install clean
# Build locally
build:
python setup.py build
# Build and test locally
test:
python setup.py test
# Build test and install locally
install:
python setup.py install
# Create a source distribution for double-checking contents
dist:
python setup.py sdist
# Update meta-data details on pypi
update:
python setup.py register
# Upload this release to pypi
upload:
python setup.py sdist upload
# Cleanup everything
clean:
python setup.py clean
test -e build && rm -rf build; true
test -e dist && rm -rf dist; true
test -e pytracker.egg-info && rm -rf pytracker.egg-info; true
test -e pytracker/trackable.so && rm pytracker/trackable.so; true
cd doc; make clean