Compare commits

...

6 commits

Author SHA1 Message Date
1e4ad2125e
indent .sh with spaces
Some checks failed
/ job (push) Failing after 1m21s
2024-08-19 10:35:27 +02:00
6aeec40503
mv 2024-08-19 10:23:08 +02:00
bc5bca4ede
dos2unix 2024-08-19 10:19:15 +02:00
fc5b997288
run pip from python 2024-08-19 10:11:39 +02:00
f990897cad
add package twine 2024-08-19 00:22:34 +02:00
3f121920fc
export variables instead of sourcing shell script activate 2024-08-18 23:00:06 +02:00
3 changed files with 740 additions and 720 deletions

3
.editorconfig Normal file
View file

@ -0,0 +1,3 @@
[*.sh]
indent_size = 4
indent_style = space

1437
spcd.sh

File diff suppressed because it is too large Load diff

View file

@ -53,6 +53,25 @@ def install_commands(path: str) -> None:
(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:
step("List environment variables")
for variable, value in sorted(projects.environment.items()):
@ -73,6 +92,7 @@ def main(main: str) -> None:
clone_project_branch()
set_ssh()
install_commands(main)
install_python_packages()
else:
function = getattr(cmd, name.replace("-", "_"))
function(*arguments)