diff options
| author | user@node5.net <user@node5.net> | 2026-05-12 18:50:37 +0200 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2026-05-12 18:50:37 +0200 |
| commit | 5a4bcbe84adb3aac980451259819f3029d7499c8 (patch) | |
| tree | 16f7befb7f752abb41b923c44eaaa4247fe16b15 /pyproject.toml | |
| parent | 1d81f5dbf63d361c76744fcd759904c4bf616fcc (diff) | |
Nixify app: Add flake, load content from dynamic path
- Package with flake - Load content from a path given with an environment variable, with the intention of loading this from a derivation
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..7c5288c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,19 @@ +[project] +name = "blog.node5.net" +version = "0.1.0" +description = "Flask project to host blog.node5.net, simple markdown parser " + +# define any Python dependencies +dependencies = [ + "Flask~=3.0", # Dynamic web server + "PyYAML~=6.0", # For config fiels + "Markdown~=3.5", # Convert markdown to HTML + "python-telegram-bot~=22.7", # Notify when new comments are made + "pygments~=2.17", # Use a newer version than in debain packages for python code snippet highlighting + "tabulate~=0.9", # Format lists as ascii tables for comments +] + +# define the CLI executable +# Here, we define the entry point to be the 'main()' function in the module 'app/main.py' +[project.scripts] +cli = "blog_node5_net:main" |
