From a3756ea14d26c9b5d61a3424894527ef51d5b280 Mon Sep 17 00:00:00 2001 From: boyska Date: Tue, 24 Aug 2021 23:21:31 +0200 Subject: [PATCH] readme updated --- README.md | 13 +++++++------ setup.py | 3 ++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f8a1a80..9a3856d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ files "cutting/pasting" with ffmpeg. Features ========= -* little system dependencies: python and ffmpeg +* little system dependencies: python3 and ffmpeg * The interface is extremely simple to use * Supports nested recording (ie: to record an interview inside of a whole show) @@ -44,12 +44,13 @@ env TECHREC_CONFIG=yourconfig.py uvicorn techrec.server:app Implementation details ====================== -It is based on bottle, to get a minimal framework. Simple APIs are offered -through it, and the static site uses them. +It is based on [fastapi](https://fastapi.tiangolo.com/), a really nice +framework. Simple APIs are offered through it, and the static site uses them +through JS. -Jobs are not dispatched using stuff like celery, but with a thin wrapper over -`multiprocessing.Pool`; this is just to keep the installation as simple as -possible. +Jobs are not dispatched using stuff like celery, but just using +[`BackgroundTasks`](https://fastapi.tiangolo.com/tutorial/background-tasks/), +in order to keep the installation as simple as possible. The encoding part is delegated to `ffmpeg`, but the code is really modular so changing this is a breeze. To be quicker and avoid the quality issues related diff --git a/setup.py b/setup.py index 1bca3d9..7e76247 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ #!/usr/bin/env python -from setuptools import setup +from distutils.core import setup +import setuptools setup( name="techrec",