Compare commits

..

5 commits

Author SHA1 Message Date
4958d93f6c
workflow
All checks were successful
/ job (push) Successful in 5m41s
2025-06-07 23:32:14 +02:00
af9842aa9e
render 2025-06-07 23:26:06 +02:00
1eed2fdeba
version 2025-06-07 19:50:07 +02:00
3e751ac9e1
" 2025-06-07 19:47:53 +02:00
ddab774cf6
project/fixes 2025-06-07 19:44:52 +02:00
4 changed files with 46 additions and 19 deletions

View file

@ -0,0 +1,18 @@
on: [push]
jobs:
job:
runs-on: ubuntu-latest
container:
image: ${{vars.DOCKER}}debian:bookworm
steps:
- name: spcd
env:
SPCD: ${{vars.SPCD}}
SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}}
SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}}
SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}}
run: ${{vars.SPCD}}
- run: spcd-build-project
- run: spcd-browse-workspace
- run: spcd-synchronize

View file

@ -1,4 +1,4 @@
__version__ = '0.0.0' __version__ = '0.0.1'
import sys import sys

View file

@ -1,34 +1,32 @@
[build-system] [build-system]
requires = ['hatchling'] requires = ["hatchling"]
build-backend = 'hatchling.build' build-backend = "hatchling.build"
[project] [project]
authors = [ authors = [
{ name = 'Marc Beninca', email = 'git@marc.beninca.link' }, { name = "Marc Beninca", email = "git@marc.beninca.link" },
] ]
maintainers = [ maintainers = [
{ name = 'Marc Beninca', email = 'git@marc.beninca.link' }, { name = "Marc Beninca", email = "git@marc.beninca.link" },
] ]
classifiers = [ classifiers = [
'Programming Language :: Python :: 3', "Programming Language :: Python :: 3",
'License :: OSI Approved :: GNU Affero General Public License v3', "License :: OSI Approved :: GNU Affero General Public License v3",
'Operating System :: OS Independent', "Operating System :: OS Independent",
] ]
dependencies = [ dependencies = ["rwx"]
'rwx', description = "Operating File System Profile"
] dynamic = ["version"]
description = 'Operating File System Profile'
dynamic = ['version']
keywords = [] keywords = []
license-files = { paths = ['license.md'] } license-files = ["license.md"]
name = 'ofsp' name = "ofsp"
readme = 'readme.md' readme = "readme.md"
requires-python = '>= 3.10' requires-python = ">= 3.11"
[project.scripts] [project.scripts]
ofsp = 'ofsp:main' ofsp = "ofsp:main"
[project.urls] [project.urls]
[tool.hatch.version] [tool.hatch.version]
path = 'ofsp/__init__.py' path = "ofsp/__init__.py"

11
render.py Executable file
View file

@ -0,0 +1,11 @@
#! /usr/bin/env python3
"""Dummy build."""
from pathlib import Path
from rwx.fs import make_directory, write
if __name__ == "__main__":
out = Path(__file__).parent / "out" / "web"
make_directory(out)
write(out / "index.html", "ofsp.rwx.work")