init python project
This commit is contained in:
commit
ebcc771a73
5 changed files with 39 additions and 0 deletions
10
.gitignore
vendored
Normal file
10
.gitignore
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# Python-generated files
|
||||||
|
__pycache__/
|
||||||
|
*.py[oc]
|
||||||
|
build/
|
||||||
|
dist/
|
||||||
|
wheels/
|
||||||
|
*.egg-info
|
||||||
|
|
||||||
|
# Virtual environments
|
||||||
|
.venv
|
1
.python-version
Normal file
1
.python-version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.12
|
9
README.md
Normal file
9
README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# Zona
|
||||||
|
|
||||||
|
This repository contains a Python rewrite of
|
||||||
|
[zona](https://git.sr.ht/~ficd/zona). The project was increasing in complexity
|
||||||
|
and in need of a refactor. I decided that I would rather implement the features
|
||||||
|
in Python.
|
||||||
|
|
||||||
|
Once the rewrite is complete, this repository will be renamed to `zona`, and
|
||||||
|
`zona` will become `zona-go` and archived.
|
17
pyproject.toml
Normal file
17
pyproject.toml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[project]
|
||||||
|
name = "zona"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Static site generator"
|
||||||
|
readme = "README.md"
|
||||||
|
authors = [
|
||||||
|
{ name = "Daniel Fichtinger", email = "daniel@ficd.ca" }
|
||||||
|
]
|
||||||
|
requires-python = ">=3.12"
|
||||||
|
dependencies = []
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
zona = "zona:main"
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["hatchling"]
|
||||||
|
build-backend = "hatchling.build"
|
2
src/zona/__init__.py
Normal file
2
src/zona/__init__.py
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
def main() -> None:
|
||||||
|
print("Hello from zona!")
|
Loading…
Add table
Add a link
Reference in a new issue