forked from piqueserver/piqueserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (24 loc) · 857 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
.PHONY: all help fixme install pylint clean develop wheels
all: help
install:
python setup.py install
help:
@echo "Available commands:"
@echo "make install: run setup.py install"
@echo "make pylint: run pylint"
@echo "make fixme: find FIXME, TODO, NOTE, and XXX in the code"
@echo "make clean: remove all build artifacts after building inplace"
@echo "make develop: run setup.py develop to build inplace for development"
@echo "make wheels: run the docker script to build the wheels"
pylint:
pylint piqueserver
fixme:
pylint piqueserver pyspades --disable=all --enable=fixme
clean:
rm -f pyspades/*.so # built c extensions
rm -f pyspades/{bytes,common,contained,loaders,mapmaker,packet,vxl,world}.cpp # generated by cython
rm -rf build/ piqueserver.egg-info/
develop:
python setup.py develop
wheels:
./scripts/build_wheels.sh