Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions web/build-versions
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ standard-imghdr
''')


def install_base_packages() -> None:
_run(['pip', 'install', '-r', 'requirements.txt'])
_run(['pip', 'uninstall', 'psij-python'])


def install_packages(dst: Path) -> None:
check_deps(dst.parent)
_run(['pip', 'install', '-r', 'requirements-docs.txt', '-t', str(dst)], cwd=dst.parent)
Expand All @@ -96,6 +101,7 @@ def run() -> None:
print('.', end='')
pd = dst / '.packages'
pd.mkdir(parents=True, exist_ok=True)
install_base_packages()
install_packages(pd)
print('.', end='')
out = Path('docs').absolute() / '.web-build' / 'v' / label
Expand All @@ -105,6 +111,7 @@ def run() -> None:
except Exception as ex:
traceback.print_exc()
print(f'Failed to build docs for {label}')
raise
print()


Expand Down
Loading