-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
43 lines (36 loc) · 1.65 KB
/
pyproject.toml
File metadata and controls
43 lines (36 loc) · 1.65 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[project]
name = "rendeirolab-github-io"
version = "0.1.0"
description = "A simple, templated website for the Rendeiro Lab."
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"beautifulsoup4>=4.13.3",
"jinja2>=3.1.5",
"markdown2[all]>=2.5.3",
"pyaml>=25.1.0",
"pygments>=2.19.1",
"requests>=2.32.3",
"taskipy>=1.14.1",
]
keywords = ["website", "jinja", "yaml", "bootstrap"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
urls = { Homepage = "https://rendeiro.group/" }
authors = [
{ name = "Andre Rendeiro", email = "arendeiro@cemm.oeaw.ac.at" },
]
[tool.taskipy.tasks]
clean = { cmd = "rm -r docs || true", help = "Remove the 'docs' directory" }
pre_build = "task clean"
build = { cmd = "python build.py", help = "Run the build script" }
pre_serve = "task build"
serve = { cmd = "(xdg-open http://0.0.0.0:8000/ &) && python -m http.server -d docs/", help = "Open browser and serve 'docs' directory" }
pre_deploy = "task clean"
deploy = { cmd = "git add assets/**/* && git add -u && git commit -m 'update' && git push origin main", help = "Commit and push changes to the main branch" }
check = { cmd = "gh run list -L 4", help = "List the last 4 GitHub actions" }
develop = { cmd = "uv run --with ipython ipython", help = "Run a IPython shell" }
purge = { cmd = "curl -X POST https://purge.jsdelivr.net/gh/rendeirolab/rendeirolab.github.io@main/assets/js/color_toggler.js && curl -X POST https://purge.jsdelivr.net/gh/rendeirolab/rendeirolab.github.io@main/assets/css/style.css", help = "Purge jsDelivr cache for JS and CSS assets" }