forked from holoviz/datashader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdodo.py
More file actions
28 lines (23 loc) · 729 Bytes
/
Copy pathdodo.py
File metadata and controls
28 lines (23 loc) · 729 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
import os
if "PYCTDEV_ECOSYSTEM" not in os.environ:
os.environ["PYCTDEV_ECOSYSTEM"] = "conda"
from pyctdev import * # noqa: api
def task_build_website():
"""
Experimental: Build website
Might migrate to pyctdev
"""
return {
'actions': [
"datashader fetch-data --path=examples",
"nbsite generate-rst --org pyviz --project-name datashader --skip '.*tiling.*'",
"nbsite build --what=html --output=builtdocs",
]}
def task_release_website():
""" Experimental: Release website """
return {
'actions': [
"cd builtdocs",
"aws s3 sync --delete --acl public-read . s3://datashader.org",
"cd .."
]}