diff --git a/ofsp/__init__.py b/ofsp/__init__.py index 1c6d234..5ac25e1 100644 --- a/ofsp/__init__.py +++ b/ofsp/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.0.0' +__version__ = '0.0.1' import sys diff --git a/pyproject.toml b/pyproject.toml index c0e8f0e..ecbb82d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,34 +1,32 @@ [build-system] -requires = ['hatchling'] -build-backend = 'hatchling.build' +requires = ["hatchling"] +build-backend = "hatchling.build" [project] authors = [ - { name = 'Marc Beninca', email = 'git@marc.beninca.link' }, + { name = "Marc Beninca", email = "git@marc.beninca.link" }, ] maintainers = [ - { name = 'Marc Beninca', email = 'git@marc.beninca.link' }, + { name = "Marc Beninca", email = "git@marc.beninca.link" }, ] classifiers = [ - 'Programming Language :: Python :: 3', - 'License :: OSI Approved :: GNU Affero General Public License v3', - 'Operating System :: OS Independent', + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU Affero General Public License v3", + "Operating System :: OS Independent", ] -dependencies = [ - 'rwx', -] -description = 'Operating File System Profile' -dynamic = ['version'] +dependencies = ["rwx"] +description = "Operating File System Profile" +dynamic = ["version"] keywords = [] -license-files = { paths = ['license.md'] } -name = 'ofsp' -readme = 'readme.md' -requires-python = '>= 3.10' +license-files = ["license.md"] +name = "ofsp" +readme = "readme.md" +requires-python = ">= 3.11" [project.scripts] -ofsp = 'ofsp:main' +ofsp = "ofsp:main" [project.urls] [tool.hatch.version] -path = 'ofsp/__init__.py' +path = "ofsp/__init__.py" diff --git a/render.py b/render.py new file mode 100755 index 0000000..3956833 --- /dev/null +++ b/render.py @@ -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")