-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (33 loc) · 797 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
46
SRC = $(wildcard ./*.ipynb)
all: hecss docs
hecss: $(SRC)
nbdev_build_lib
touch hecss
docs_serve: docs
cd docs && bundle exec jekyll serve
docs: $(SRC)
nbdev_build_docs
touch docs
test:
nbdev_test_nbs
test_asap:
nbdev_test_nbs --flags asap
test_vasp:
nbdev_test_nbs --flags vasp
release: pypi # conda_release
nbdev_bump_version --part 3
conda_meta:
fastrelease_conda_package --do_build false
sed -i -e 's/APACHE/GPL3/g' \
-e 's/Apache Software/GPL-3.0-or-later/g' \
-e 's/dev_url: .*/dev_url: http:\/\/gitlab.com\/jochym\/hecss\//g' \
conda/hecss/meta.yaml
conda_release: conda_meta
conda mambabuild --python 3.8 conda/hecss
pypi: dist
twine upload --repository hecss dist/*
dist: clean
python setup.py sdist bdist_wheel
clean:
rm -rf dist
conda build purge