chore: scaffold shadowssh project with Makefile, pyproject.toml, setup.cfg, and initial package structure

This commit is contained in:
2024-12-08 09:32:43 +00:00
parent a2ec873884
commit b19ccb862f
6 changed files with 171 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
BIN = ./.venv/bin/
PYTHON = ./.venv/bin/python
PIP = ./.venv/bin/pip
APP_NAME=shadowssh
all: install build
ensure_repo:
-@git init
ensure_env: ensure_repo
-@python3 -m venv .venv
install:
$(PIP) install -e .
format:
$(PIP) install shed
. $(BIN)/activate && shed
build: install format
$(PIP) install build
$(PYTHON) -m build
serve:
$(BIN)$(APP_NAME).serve --host=0.0.0.0 --port=443
run: serve