forked from EPFL-LCN/neuronaldynamics-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (29 loc) · 978 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
#deploy: test pypi conda
deploy: test conda
# Documentation building
sphinx:
sphinx-apidoc -o doc/modules neurodynex -f
make -C doc html
# Pypi deployment (removed, march 2018)
# pypi:
# rm -rf dist/*
# python setup.py bdist_wheel sdist
# twine upload dist/* --config-file .pypirc
# Anaconda deployment
conda: conda-build conda-upload
conda-build:
rm -rf conda_build/build
conda build conda_build
@read -p "Enter the path to local file from above ['anaconda upload PATH']: " cpath; \
conda convert --platform all $$cpath -o conda_build/build;
conda-upload:
anaconda login
anaconda upload -u epfl-lcn conda_build/build/win-32/*;
anaconda upload -u epfl-lcn conda_build/build/win-64/*;
anaconda upload -u epfl-lcn conda_build/build/linux-32/*;
anaconda upload -u epfl-lcn conda_build/build/linux-64/*;
anaconda upload -u epfl-lcn conda_build/build/osx-64/*;
# test
test:
pep8 neurodynex --max-line-length=120
nosetests neurodynex --nocapture --verbosity=2