27 lines
509 B
Python
27 lines
509 B
Python
"""All the action we need during build"""
|
|
|
|
import json
|
|
import os
|
|
import pathlib
|
|
import urllib.request as url_lib
|
|
from typing import List
|
|
|
|
import nox # pylint: disable=import-error
|
|
|
|
|
|
@nox.session()
|
|
def setup(session: nox.Session) -> None:
|
|
"""Sets up the template for development."""
|
|
|
|
session.install(
|
|
"-t",
|
|
"./bundled/libs",
|
|
"--no-cache-dir",
|
|
"--implementation",
|
|
"py",
|
|
"--no-deps",
|
|
"--upgrade",
|
|
"-r",
|
|
"./requirements.txt",
|
|
)
|