Compare commits
No commits in common. "1e4ad2125ecbacc2d3561c198231132b9f9a1900" and "88f75d88303f8157283d40fe6d697a632b2ef08e" have entirely different histories.
1e4ad2125e
...
88f75d8830
3 changed files with 720 additions and 740 deletions
|
@ -1,3 +0,0 @@
|
||||||
[*.sh]
|
|
||||||
indent_size = 4
|
|
||||||
indent_style = space
|
|
|
@ -53,25 +53,6 @@ def install_commands(path: str) -> None:
|
||||||
(user / f"{COMMANDS_PREFIX}{command}").symlink_to(path)
|
(user / f"{COMMANDS_PREFIX}{command}").symlink_to(path)
|
||||||
|
|
||||||
|
|
||||||
def install_python_packages() -> None:
|
|
||||||
step("Install Python packages")
|
|
||||||
log.info("pip")
|
|
||||||
run("pip", "install", "--upgrade", "pip")
|
|
||||||
split()
|
|
||||||
packages = [
|
|
||||||
"mypy",
|
|
||||||
"pelican",
|
|
||||||
"pytest",
|
|
||||||
"ruff",
|
|
||||||
"sphinx",
|
|
||||||
"sphinx-rtd-theme",
|
|
||||||
"twine",
|
|
||||||
]
|
|
||||||
for package in packages:
|
|
||||||
log.info(package)
|
|
||||||
run("pip", "install", *packages)
|
|
||||||
|
|
||||||
|
|
||||||
def list_environment_variables() -> None:
|
def list_environment_variables() -> None:
|
||||||
step("List environment variables")
|
step("List environment variables")
|
||||||
for variable, value in sorted(projects.environment.items()):
|
for variable, value in sorted(projects.environment.items()):
|
||||||
|
@ -92,7 +73,6 @@ def main(main: str) -> None:
|
||||||
clone_project_branch()
|
clone_project_branch()
|
||||||
set_ssh()
|
set_ssh()
|
||||||
install_commands(main)
|
install_commands(main)
|
||||||
install_python_packages()
|
|
||||||
else:
|
else:
|
||||||
function = getattr(cmd, name.replace("-", "_"))
|
function = getattr(cmd, name.replace("-", "_"))
|
||||||
function(*arguments)
|
function(*arguments)
|
||||||
|
|
Loading…
Reference in a new issue