-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (22 loc) · 732 Bytes
/
Makefile
File metadata and controls
38 lines (22 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
37
38
CURDIR := $(shell pwd)
.PHONY: clean dist ext wheel linux test
all: dist
dist: wheel clean
poetry run python setup.py sdist
wheel: clean ext
poetry run python setup.py bdist_wheel
ext:
poetry run python setup.py build_ext --inplace
test:
poetry run python -m pytest tests/
clean:
rm -rf build/ .pytest_cache/ *.egg-info dist/ __pycache__/ dist/
# delete cython linker files
poetry run python .github/utils/find.py remove -pattern *.pyd
# delete pytest coverage file
poetry run python .github/utils/find.py remove -pattern *.coverage
linux:
rm -rf dist/*
docker container run --rm -v $(CURDIR):/copulae danielbok/manylinux1 /copulae/manylinux-build.sh
req:
poetry run python .github\utils\requirements.py