-
Notifications
You must be signed in to change notification settings - Fork 4
/
makefile
43 lines (33 loc) · 875 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
PYTHON=python
path=examples
recursive=True
make:
@echo Installing pygl...
${PYTHON} setup.py install
clean-local:
@echo removing local compiled files
rm pygl/*.c pygl/*.html pygl/*.cpp
clean:
@echo removing all compiled files
${PYTHON} setup.py clean
rm pygl/*.c pygl/*.html
env:
@echo creating conda environment...
conda env create --file environment.yml
# conda activate pygl
@echo use make to install pygl
test:
@echo testing pygl...
cd pygl/tests/ && python installTests.py
nbtest:
@echo testing example notebooks...
@echo test $(path)
cd pygl/tests/ && python testNotebooks.py --path $(path) --recursive $(recursive)
pypitest:
@echo testing pystokes...
python setup.py sdist bdist_wheel
python -m twine upload --repository testpypi dist/*
pypi:
@echo testing pystokes...
python setup.py sdist bdist_wheel
python -m twine upload dist/*