forked from gtri/rapid-modeling-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanaconda-project.yml
115 lines (105 loc) · 3.08 KB
/
anaconda-project.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
name: Ingrid_Nerdman
commands:
test:
windows: >-
python -m pip install -e . --no-deps --ignore-installed &&
pytest
unix: >
python -m pip install -e . --no-deps --ignore-installed &&
pytest
description: Run test suite
env_spec: model-processing
jupyter:
windows: >-
python -m pip install -e . --no-deps --ignore-installed &&
(if not exist notebooks (mkdir notebooks)) &&
jupyter labextension install @jupyter-widgets/jupyterlab-manager &&
jupyter lab --notebook-dir=./notebooks
unix: >
mkdir -p notebooks &&
jupyter labextension install @jupyter-widgets/jupyterlab-manager &&
jupyter lab --notebook-dir=./notebooks
description: Launch JupyterLab from /notebooks
env_spec: jupyter
setup:
windows: python -m pip install -e . --no-deps --ignore-installed
unix: python -m pip install -e . --no-deps --ignore-installed
description: Install model-processing
env_spec: model-processing
cli:
windows: model-processing
unix: model-processing
description: Call model-processing
env_spec: model-processing
gui:
windows: >-
python -m pip install -e . --no-deps --ignore-installed &&
python src/model_processing/gui.py
unix: >
python -m pip install -e . --no-deps --ignore-installed &&
python src/model_processing/gui.py
description: Call model-processing-gui built with Gooey
env_spec: gui
build-docs:
windows: sphinx-apidoc -F -q -f -H "Rapid Modeling Tools" -A "GTRI" -V "0.1.0"^
--extensions="sphinx.ext.autosummary,sphinx.ext.intersphinx,sphinx.ext.napoleon"^
-o docs src/model_processing && cd docs && make.bat html
unix: >-
sphinx-apidoc -F -q -f -H "Rapid Modeling Tools" -A "GTRI" -V "0.1.0"
--extensions="sphinx.ext.autosummary,sphinx.ext.intersphinx,sphinx.ext.napoleon"
-o docs src/model_processing && cd docs && make html
description: Build model-processing documents
env_spec: docs
black:
windows: black setup.py src test
unix: black setup.py src test
description: Format files per Black
env_spec: model-processing
build:
windows: >-
python -m pip install -e . --no-deps --ignore-installed &&
pyinstaller build.spec
unix: >-
python -m pip install -e . --no-deps --ignore-installed &&
pyinstaller build.spec
env_spec: build
channels:
- https://conda.anaconda.org/anaconda
- https://conda.anaconda.org/conda-forge
env_specs:
model-processing:
packages:
- networkx >=2.3
- openpyxl
- pandas
- xlrd >=0.9.0
- scipy
- black
- pip
- pytest
- pytest-cov
- pytest-flake8
- pytest-black
- python >=3.6,<3.7
gui:
inherit_from:
- model-processing
packages:
- gooey <1.0.5
docs:
packages:
- sphinx
jupyter:
inherit_from:
- model-processing
packages:
- jupyterlab >=2.1.0,<3.0.0a0
- ipywidgets
- matplotlib
- nodejs >=13,<14.0.0a0
build:
inherit_from:
- model-processing
- gui
packages:
- pyinstaller